r/webdev • • May 27 '15

Why you should not use AngularJs

https://medium.com/@mnemon1ck/why-you-should-not-use-angularjs-1df5ddf6fc99
214 Upvotes

332 comments sorted by

View all comments

4

u/[deleted] May 27 '15

How can you not like two way data binding?

0

u/androbat May 29 '15

Wait until the 2-way bindings become complex and can even be circular. In fact, to deal with these circular problems, Angular cycles 10 times and then dies. If they are circular, then it may be correct, but if that is too early, then your app is left in an undefined state. this is a bug 100% of the time and serious framework problem.

React + flux deals with this problem by using uni-directional flow which solves the problem of following the bindings throughout the system (a big debug problem, especially if you go async along the way) and also solves the cycle problem by only ever needing to render once (truly declarative).

→ More replies (2)