r/programming • • Sep 15 '16

Angular 2.0.0 officially released

https://www.npmjs.com/~angular
1.3k Upvotes

535 comments sorted by

View all comments

12

u/le_f Sep 15 '16

Can the react advocates here convince me to use it over angular 2? I have yet to try react.

27

u/vinnl Sep 15 '16 edited Sep 15 '16

A major advantage is that you can spend just one afternoon trying it and already understand its major concepts and why they are good :)

20

u/Eirenarch Sep 15 '16

Except Flux. You can spend months on it without making any sense of it.

13

u/SeerUD Sep 15 '16

Try Redux; then I'd give it a few days - if it's not clicked by then, you may just not be ready to try take it on yet. Get a decent tutorial, I believe I used this one: https://github.com/happypoulp/redux-tutorial and you'll be golden.

3

u/[deleted] Sep 15 '16

The author of Redux has made his own tutorial.

Getting started with redux

I highly recommend it.

→ More replies (10)

6

u/[deleted] Sep 15 '16

I would definitely also take a look at MobX. It is very beginner friendly and growing a lot in popularity.

3

u/Eirenarch Sep 15 '16

So let me get this straight. 1 year ago Flux was the consensus for the best pattern to use with React, then came Redux and now people are moving to this MobX thing?

3

u/[deleted] Sep 15 '16

I was not suggesting that everyone using Redux is moving to MobX by any means. I'm just saying MobX is another option, that is gaining some traction, and is also super easy to wrap your head around.

→ More replies (2)

2

u/vinnl Sep 15 '16

Flux never really was consensus - there were tons of different libraries implementing it in some way or another, until Redux came along and everybody converged onto that. Then MobX came around, but Redux still definitely is a safe choice.

→ More replies (1)

2

u/vinnl Sep 15 '16

Redux is pretty OK if you've got a little functional programming background, but otherwise: yeah, definitely true.

→ More replies (1)

2

u/acemarke Sep 15 '16

I maintain a big list of links to high-quality tutorials and articles on React, Redux, and related topics, at https://github.com/markerikson/react-redux-links . Specifically intended to be a great starting point for anyone trying to learn the ecosystem.

The official docs are really well written, and Dan Abramov's video series on Egghead is a fantastic step-by-step intro to Redux and its concepts. I've got dozens of other tutorials listed as well. And if you really want a TL;DR, Dan gave a simple summary of Redux in a comment a while back.

And yes, while Redux is most commonly used by the React community, there's absolutely a good number of people using it with Angular 2 as well.

→ More replies (3)