-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Deprecate Create React App officially by changing the README, and adding a message on init #17003
Conversation
The deprecation message itself is 👍🏻 but the fail on CI is a react 19 issue Perhaps it could be locked to 18?
Merging this PR could come with #13725 and it should get green and give CRA a bit of a longer run |
Yeah, the overall problem is that the CLI has always installed |
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.
thanks!
9638033
to
aa9414f
Compare
God, I've been waiting for this moment for so long. this should have been done 10 years ago, because cra is not suitable for production, it is only useful for learning React and if you want to try React when you need to save time to the detriment of the technology stack inside. I've been waiting for this for so long because over the years I've found cra inside large and small projects in the places where I worked, and I've always deprecated and rewrote them on a webpack, parcel, or vite. |
I hope this doesn't alarm anyone paying attention. Overall, it's good for clarity to the community at large. There's been plenty, plenty of hints to this over the years. I often cite this one, from 2021.
|
It's probably time to make this project document its status as being deprecated and not recommended for production usage.
To change it:
I opted to add a header to the README saying its over and you should go look at https://react.dev/learn/start-a-new-react-project
I left a note saying that if you are following, it is maybe worth carrying on. While I hear react 19 doesn't work with CRA, I wouldn't be surprised that a good chunk of tutorials would still work. Open to being a bit more hard-lined there but there was a lot of great resources for learning react in that era and it seems like a waste to be making people stop early?
I added a message inside the CLI, it shows once and says "don't use this, use the stuff in https://react.dev/learn/start-a-new-react-project"