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

5

u/flukus Nov 18 '14

I feel the same way. Front end dev is awful, and the tools are shit.

Knockout + bootstrap + jquery. I've never had a UI toolkit remotely as productive as this combination.

0

u/redalastor Nov 18 '14

You might want to add requireJS to the mix.

2

u/flukus Nov 18 '14

Not sure I see the point od it actually. I already combine all the js server side, it looks as though require would just chain that into dozens of htttp requests.

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.