3 ms·
OT but I'm looking for a comparison between Angular and React/Flux, preferably with a real case study. Working with templates that update themselves without hav
by Kiro 12y ago
OT but I'm looking for a comparison between Angular and React/Flux, preferably with a real case study. Working with templates that update themselves without having to bother with anything else just seems to much easier...
- papaf 12y agoI have had lots of problems trying to understand and use Angular. Most people don't. The TODO MVC site has comparisons for a simple app: http://todomvc.com/ http://todomvc.com/ The main problem is that a TODO app is too simple. But if the app were more complicated it would be much harder to prepare and read the examples.
- noelwelsh 12y agoMy comparison is here: http://noelwelsh.com/programming/2014/08/17/angularjs-vs-react/ http://noelwelsh.com/programming/2014/08/17/angularjs-vs-rea... It isn't a 100% fit for what you're looking for -- there is no case study -- but it might be useful to you.
- Retozi 12y agoI do not have much experience with Angular, however, I feel the arguments over different frameworks depend a lot on the specific nature of your app. two-way databinding is perfectly fine and really helpful for a lot of apps. However, it will screw you for certain use cases. In my opinion, it really boils down to how much global interaction you have in your app. If you simply render a lot of models that can only be changed trough the view, then I don't really see a reason for a Flux like architecture. Two-way databinding is perfectly fine there. (React vs whatever then boils down to performance vs toolset) If you do a lot of graphical stuff that allows for heavy interaction, filtering and other kinds of stuff, I believe that two-way databinding will be your downfall. You need to clearly and explicitly map out on how data flows through your app. That is the time where an architecture like Flux shines. So ask yourself this question: "How often can a user do something in your app, and a lot of Views need to rerender?" If the answer is "often", then you should consider something like Flux. If not, Angluar might be a better fit, especially if you already know it.