Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just Covert to a component #126

Open
donaldboulton opened this issue Nov 19, 2022 · 0 comments
Open

Just Covert to a component #126

donaldboulton opened this issue Nov 19, 2022 · 0 comments

Comments

@donaldboulton
Copy link

donaldboulton commented Nov 19, 2022

Any out of date NPM modules just convert and add as a component instead of a module. I use Gatsby and It was working fine with React 18.2.0, but I did not like the React build warnings, so I made a module out of it and it works the same, with no build warnings. Updated to Typescript and change the react calls.
As
import * as React from 'react'
import { Component } from 'react'
My repo component at: PubliusLogic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant