News for hackers. Stuff that matters.
Re:Ask HN: Fatigued by the complexity of ES6 tooling. What t... by HorizonXP on Saturday March 11, 2017 @11:27PM (#13848957)
I struggled for a while between create-react-app, and other boilerplates. Last month, prior to a GraphQL rewrite, I dove in and stripped out our build stack, and rewrote it to use Webpack 2.

Webpack is not easy, and it definitely took some reading and some work. But the documentation has become a lot better, and I was able to get it working extremely well. Now, I have the following features working:

- react-router integration

- redux

- server-side rendering

- vendor bundle to help with caching

- automated CI builds

- Docker to Kubernetes deployments

I would really suggest learning Webpack 2 and starting with a very simple toy project. Start adding features to it, and then you'll start to understand how everything fits together. Then you can take those learnings and apply them to your other projects. Once you get it, it's very powerful.

There are no comments on this comment yet.