-
Notifications
You must be signed in to change notification settings - Fork 44
Upgrade to react 18 and added typescript #8
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the breaking behavior you encountered in react 18, and what part of the codebase was responsible? Perhaps I am simply unaware but have you found the specific reason? Thanks for the PR :)
"eject": "node ../node_modules/react-scripts/bin/react-scripts.js eject", | ||
"predeploy": "npm run build", | ||
"deploy": "gh-pages -d build" | ||
"start": "parcel index.html", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"test:watch": "react-scripts test --env=jsdom", | ||
"predeploy": "cd example && npm install && npm run build", | ||
"deploy": "gh-pages -d example/build" | ||
"start": "tsdx watch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't encounter any breaking changes; it was incompatible with the most recent version, which can be fixed with —legacy-peer-deps, but I just want to make it compatible with the most recent react and typescript projects. I'm still not sure if it's perfect because I'm still learning everything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
would love to see this pr merged! |
No description provided.