4 ms·
Angular embraces two way data binding while React does everything humanly possible to avoid it. I will also point out that Angular essentially re-implements Ja
by kansface 10y ago
Angular embraces two way data binding while React does everything humanly possible to avoid it.
I will also point out that Angular essentially re-implements JavaScript in the form of extensions to html. EG, if you want to iterate over something in React, you use map while Angular makes use of ng-repeat.
- cowkingdeluxe 10y agoI've found that using :: to disable two-way binding where needed and using 'track by $index' in ng-repeat removes both of those performance concerns (in my usage).