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
Updates CRA from v4 to v5 #771
Conversation
("react-scripts", "4.0.3"), | ||
-- NOTE: We need to specify this exact version of `react-error-overlay` for use with | ||
-- `react-scripts` v4 due to this issue: https://github.com/facebook/create-react-app/issues/11773 | ||
("react-error-overlay", "6.0.9") |
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.
This was a CRA4-only bug.
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!
If the apps work (with both compile and start), I think we're good. |
Awesome that we will now have less of those deprecation warnings! |
Ah sorry forgot to comment on this: yup I agree with @sodic , that should be enough of testing for now! |
Thanks for the review here @sodic and @Martinsos. I forgot to add the Changelog update for the possible breaking change (I will link to the CRA4 to 5 transition doc). After that, I will merge! 🚀 |
Description
Updates Create React App from v4 to v5. It is pretty straightforward:
The only drag is we do have a couple of deprecation warnings (however, this is a known CRA5 issue that will hopefully be fixed soon: facebook/create-react-app#11860):
If we really wanted to hide it, we could filter the web app output.
Fixes most deprecation warnings from: #181 (The only ones left are stable, w3c-hr-time, and svgo. But down from 21 before upgrade. And far fewer npm audit errors.)
The goal for this is to make it easier to add Tailwind support as a next step (https://tailwindcss.com/docs/guides/create-react-app).
Type of change
Please select the option(s) that is more relevant.
How should I be thinking about testing this? I ran the existing apps and they seem ok. Since CRA helps with frontend in dev mode, deployment should not be a concern, right? Anything else to consider/test/validate?