News for hackers. Stuff that matters.
Re:React Fiber Architecture by gedy on Sunday August 07, 2016 @05:59PM (#12243910)
Well partly because React is not that fast, and things like incorporating CSS animations are not particularly easy.

I appreciate FB is working on improving these areas, but original point is that maybe a lot of this optimization would be unnecessary if worked with the browser capabilities vs outside it in JS.

Re:React Fiber Architecture by mythz on Sunday August 07, 2016 @06:24PM (#12244052)
Its batch DOM writes of virtual DOM diffs ends up being a lot faster than previous SPA development models which can be further optimized with Pure Renderer. It has room for improvements but that doesn't invalidate React's approach.
Re:React Fiber Architecture by Silhouette on Sunday August 07, 2016 @08:22PM (#12244586)
Its batch DOM writes of virtual DOM diffs ends up being a lot faster than previous SPA development models which can be further optimized with Pure Renderer.

Sorry, but that isn't necessarily so. React is a lot faster than many of the other front-end frameworks, but that's because most front-end frameworks are horribly, horribly slow. However, all that rerendering and DOM diffing isn't free, and React can easily still be much slower than applying manual DOM updates if you have the patience and accuracy to write the code to do them, even if you use pure renderers and write shouldComponentUpdate everywhere.