News for hackers. Stuff that matters.
Re:My struggle to learn React by enraged_camel on Wednesday May 09, 2018 @02:33PM (#17032510)
>>* The tooling was a disaster before create-react-app. But now there's create-react-app, so the tooling isn't a problem.

But what happens when you inevitably need to step outside the boundaries set by create-react-app? From that perspective, it simply delays the problem, rather than solving it.

Re:My struggle to learn React by mephitix on Wednesday May 09, 2018 @03:22PM (#17033009)
I guess it depends on how you learn. I personally used CRA in my learning process and it helped me get up to speed in understanding React fundamentals (reconciliation, lifecycles, state management..) Then I started going down into the stack and understanding Webpack, etc..

For me personally it would be exasperating to learn all of the stuff that CRA bootstraps before actually getting to learn React.

Re:My struggle to learn React by tptacek on Wednesday May 09, 2018 @02:36PM (#17032547)
I don't know, because haven't needed to step outside those boundaries. I'm sure it will be painful when that happens, but by that point, I'll have gotten so much done that I probably won't care too much.

I had a gulp build process I used before create-react-app; it was gross to get working, but then worked just fine. I could live without create-react-app, but why would I?

Re:My struggle to learn React by sli on Wednesday May 09, 2018 @03:21PM (#17032995)
If you hit the point where you're considering ejecting, check out react-app-rewired. If you just need additional Webpack plugins, react-app-rewired can do that for you without the need to completely eject your app.
Re:My struggle to learn React by craftycode on Wednesday May 09, 2018 @03:00PM (#17032787)
I've never used create-react-app and I still love React.
Re:My struggle to learn React by allover on Wednesday May 09, 2018 @05:19PM (#17034187)
> But what happens when you inevitably need to step outside the boundaries set by create-react-app?

Been working on a real-world c-r-a based project for 8 months and this is yet to happen. And the upgrade process has been a dream (update 1 dependency), no breakages so far.

In fact I now regret my other attempts to go off the rails (adding Sass), it wasn't worth it.

Re:My struggle to learn React by sli on Wednesday May 09, 2018 @03:20PM (#17032987)
You can eject the app to exit CRA's umbrella. All of your configuration and code still works, you just also gain access to the project config and Webpack config that CRA formally dealt with for you.

A lot of the time, simply using react-app-rewired is sufficient in place of ejecting, especially if the only thing you need are some Webpack plugins.

Re:My struggle to learn React by crooked-v on Wednesday May 09, 2018 @03:17PM (#17032951)
My last and current job have both uses react-app-rewired to monkey-patch create-react-app.