3 ms·
Two years ago I would have invested some effort to read this thoroughly and try to stay on top of the API changes. I'm sure it's helpful to a lot of folks. For
by paws 9y ago
Two years ago I would have invested some effort to read this thoroughly and try to stay on top of the API changes. I'm sure it's helpful to a lot of folks.
For sure I do care about my build toolchain. The nice thing about being a React developer today, is that thanks to create-react-app, more specifically react-scripts [1], I'm thankful I get to choose to not worry about it. Just like I didn't have to worry about 2.0 -> 3.0 last time.
Cheers to the CRA maintainers. Thanks for giving me some time back!
[1] https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/package.json#L62 https://github.com/facebook/create-react-app/blob/next/packa...
- needcaffeine 9y agoIn your experience, is CRA just for people starting out with a new project or can large apps implement and use it without ejecting and diverging?
- paws 9y agoIf your existing large app is a React app, the naive thing to try would be migrating the src/ folder into a new CRA app and see what happens. If you get a lot off runtime errors you have an easier time migrating to CRA, if you eject a new CRA app and gently/iteratively adjust the webpack config on your existing project to match CRAs.