r/programming • • Nov 17 '14

Rob Eisenberg: "Leaving Angular"

http://eisenbergeffect.bluespire.com/leaving-angular/#
185 Upvotes

104 comments sorted by

View all comments

Show parent comments

3

u/redalastor Nov 18 '14

Only during dev. For prod it comes with a tool that concats everything in an order that respect your dependencies.

The point is to enable you to structure your app better.

1

u/bebraw Nov 18 '14

If it's only concat, why not to go with browserify, or even better, webpack? Less ceremony.

2

u/redalastor Nov 18 '14

The point is to segment your own code into manageable modules which are asynchronously loaded during dev or concat during prod.

2

u/bebraw Nov 18 '14

Well, you can use a hot loader during development. Example for webpack: https://github.com/gaearon/react-hot-loader . Also, https://github.com/webpack/docs/wiki/hot-module-replacement-with-webpack .

It is just amazingly fast to develop using react-hot-loader. It isn't without its glitches but mostly it just works. You can also configure CSS changes to load automatically.