3 ms·
I don't tend to think ReactJS has many advantages, just differences. Angular 1.x is optimized around creating pages, where as React (and Angular 2.x) are optim
by megaman821 11y ago
I don't tend to think ReactJS has many advantages, just differences.
Angular 1.x is optimized around creating pages, where as React (and Angular 2.x) are optimized around creating small components.
Angular 1.x uses two-way bindings by default and you can opt into one-way bindings. React essentially does the opposite.
I have had infinite loops pop up in Angular, just by having floating point numbers that don't "settle" down to the same value. Also, it is too easy to end up with to many watchers on a page.
Also, Angular is a much more complete solution than React but I have found react-router and the fetch api get me 80% there.
- grumblestumble 11y agoone-time bindings are not the same thing as one-way bindings.