I think react's big strength is when you have a lot of complex interactions where it's easier to rebuild versus update / modify the UI so it can run its internal comparisons and only update the right portions. But I think in the majority of cases that's to simplify / speed up development time; overall I don't think react would be faster than anything directly manipulating the DOM unless the manipulation was written really inefficiently.
View all comments
Show parent comment
1
u/BinaryIdiot Jun 26 '15
I think react's big strength is when you have a lot of complex interactions where it's easier to rebuild versus update / modify the UI so it can run its internal comparisons and only update the right portions. But I think in the majority of cases that's to simplify / speed up development time; overall I don't think react would be faster than anything directly manipulating the DOM unless the manipulation was written really inefficiently.