-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Requesting multiple versions of create-react-app #2861
Comments
There exist multiple community-maintained forks of You can use You can see the proposal which enables TypeScript here: #2815. If you'd like to use TypeScript immediately, go ahead and try out |
@Timer thanks for the reply. A million times please do not implement a plugin system. It would destroy the core value of create-react-app which is zero configuration. I just don't know how to emphasize this enough - you have solved the unbelievable, excruciating, time and soul destroying pain of getting going (and staying going) with react, don't destroy that by moving to configuration from zero configuration. Please don't. Once you implement a plugin system then heck you may as well delete create-react-app because if I want to have to learn, stay up to date, read out of date blog posts (wrongly) explaining it, be confused by changes and deprecations, learn and grasp how it works and why it is not working, then I may as well just start with all of those same pains that webpack and babel provide. |
@crowdwave the plugin system would still be zero-configuration; additionally no one is allowed to create arbitrary plugins -- only we can create plugins. Think of them as add-ons! These add-ons will be chosen carefully as well, because we'd have to permanently support them. These are features we'd normally have in the core of CRA, but do not because people complain about too large of a |
If there is zero cognitive load for the user then great. Hard to see how to do so without some sort of options or config. I suggest my approach of different implementations is easier to understand, with zero config within each implementation. At some level is sounds like semantics and perhaps it is, but it makes sense to me that there is a "zero config" CRA for typescript, and a "zero config" CRA for babel etc |
The only step will be |
It may sound a little crazy at first, but I think there should be two or maybe even more versions of create-react-app
I LOVE that it is zero configuration. It should always stay this way.
On the other hand, there are broad categories of application development that each need their own implementation:
i.e.
create-react-app for babel
create-react-app for typescript
create-react-app for browsers
create-react-app for electron
create-react-app for native
So zero configuration within any implementation, but a recognition that there could be multiple implementations.
My primary motivation is wanting to move to typescript.
It's possibly even worth considering moving only to typescript and dropping babel.
The text was updated successfully, but these errors were encountered: