3 ms·
Maybe React has the advantage as the project grows? From what I understand it batches updates from all the different components on the page, avoiding unnecessar
by ptx 7y ago
Maybe React has the advantage as the project grows? From what I understand it batches updates from all the different components on the page, avoiding unnecessary reflows that might easily creep in when you do things the old-fashioned way.
- jiofih 7y agoIt makes it even slower, and you have to manually optimize component renders. Sure you get less reflow due to dom diffing, but tons higher cpu time.