News for hackers. Stuff that matters.
Re:Create-React-App 3.3 by SenHeng on Thursday December 05, 2019 @01:27AM (#21710373)
I typically start such a new project by cloning from a boiler plate repo that I created myself. I find those easier to use than CRA.
Re:Create-React-App 3.3 by Keats on Thursday December 05, 2019 @03:21AM (#21710762)
I do the same. I find it much easier to understand and I've always needed to modify the config anyway. I wrote about my own boilerplate in https://www.vincentprouillet.com/blog/react-typescript-webpa... and the Webpack config is like 75 lines. It could work with Vue or anything else just as well.

My guess is people still think Webpack is hard to configure despite that being quite simple now.

Re:Create-React-App 3.3 by JMTQp8lwXL on Thursday December 05, 2019 @01:46AM (#21710446)
I have my own babel+webpack+etc repo I clone for mini-things I want to dig into (e.g., how does "tool x" work?) and I can freely explore learning that tool, without clouding my production important code base. I then transport those learnings back, and the implementation is more refined, since it's clearly written by somehow who knows how to effectively use Tool X, without haphazardly throwing it around.
Re:Create-React-App 3.3 by rajatsharma91 on Thursday December 05, 2019 @01:38AM (#21710415)
That's a good strategy, I occasionally use that too, but a better strategy is to keep isolating often repeated functionality in your project and turn them into library packages, so you can simply add them as a dependency from now on. This way, you boilerplate becomes smaller over time or you can even start from scratch easily.
Re:Create-React-App 3.3 by jholman on Thursday December 05, 2019 @04:53AM (#21711132)
The repeated functionality that belongs in a boilerplate is literally all that CRA does. That's what makes a boilerplate a boilerplate.
Re:Create-React-App 3.3 by 52-6F-62 on Thursday December 05, 2019 @08:11AM (#21711984)
I do the exact same. I find this is especially important where license and dependency management is a concern.