News for hackers. Stuff that matters.
Re:What's New in Create React App by kuschku on Friday May 19, 2017 @05:18AM (#14373973)
At the same time, create-react-app just hides that very awful build system.

At some point you will need to make changes — be it to switch to typescript, to add some other cross-compilation tools or modify the build pipeline — an you'll have to fight with the build system.

If create-react-app did not exist, maybe the daily pain of working with the build system would be enough that it would actually be improved.

Because currently, maven is even nicer to work with than the various js build systems.

Re:What's New in Create React App by simplify on Friday May 19, 2017 @03:01PM (#14378452)
FWIW, my side project[1] takes the opposite approach: start with a bare minimum project structure, and add pieces on top via a cli. So, for example, instead of starting with Flow by default and having to rip it out for TypeScript, you start with neither, and can run `pult add typescript` if you need to.

[1] https://github.com/Concatapult/pult

Re:What's New in Create React App by krisdol on Friday May 19, 2017 @06:08AM (#14374203)
By that logic, you could say that leiningen and gradle hide the very awful maven build system, and maybe if they didn't exist, the daily pain of working with maven would be enough that it would actually be improved.

But it's been well over a decade. Maven is maven, npm is npm, make is make. Yarn is doing a good job now of being the new and improved build system for JS projects, and create-react-app seems to be using it under the hood.

Eventually I may care about what compilation flags lein passes to maven in order for it to compile my clojure project into jvm bytecode, but that day hasn't happened yet and I've been glad not to have to set those up with every clojure project I start. The same now applies to react apps.

Re:What's New in Create React App by kuschku on Friday May 19, 2017 @06:22AM (#14374253)
But gradle doesn’t build on top of maven. Gradle replaces maven.

That’s the issue I have with npm, webpack, create-react-app.

They just pile more and more layers of abstraction on top, instead of improving or replacing what is below.