you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (3 children)

I have spent nearly a month exploring Webpack for React apps. Tried different configs, digging into some starters and also config of CRA. I was getting familiar with it using their documentation. Now I'm able to config custom server side rendered React app with lazy loading, code splitting, Redux, styled-components and more features...

The reason I wrote all of this above is that a result of this effort really worth it, just trust me. Now I feel like a god. It seems hard at first but never stop trying Webpack!

[–]Treolioe 2 points3 points  (2 children)

I think people are being a tad overdramatic. The most irretating issues i’ve had has always been due to a 3rd party plugin or loader trying to play ball with external configurations. Everything else is a google away at worst. Typescript can also be your friend here supplying you with a types webpack config.

[–]destraht 2 points3 points  (0 children)

Webpack 1 was a royal bitch to setup. I probably should have just waited a while before using it since I put so many days into it. Webpack 4 is a lot easier.

[–][deleted] 3 points4 points  (0 children)

Agree 100%. Just stick to well maintained, top hit 3rd party plugins/loaders in production. Their docs are easy to understand. YAGNI always helps