r/reactjs • u/vayvala • Feb 24 '16
Can AngularJS be faster than React?
https://medium.com/@vayvala/can-angularjs-be-faster-than-react-fdf99acc3dee3
u/moogleiii Feb 25 '16
Interesting test, but you used the dev versions of react/reactdom. I pulled down your code and swapped in the production versions of react and react-dom and it significantly improved its performance in demo 2. I didn't get around to doing actual instrumentation, but, from the eyeball test, that alone put it within 95% of the angular tracked demo instead of the sluggish ~60-70% with the dev version.
1
u/brianvaughn React core team Feb 29 '16
Have you tried any of the windowing/virtualization libraries for either Angular or React? You probably don't want to be rendering large numbers of rows without windowing anyway if you're concerned about performance.
I've written such a library for React (react-virtualized) and there are others (react-infinite, fixed-data-table). I suspect there are similar libraries available for Angular also although I don't know their names off the top.
9
u/[deleted] Feb 24 '16
Nope.