Re:Rendering Improvements
by amelius on Wednesday June 24, 2015 @02:32PM
(#9773524)
How are changes to the dom handled? Incrementally, with a minimum of recomputed state?
[ Parent
| on HN ]
Re:Rendering Improvements
by spartanatreyu on Wednesday June 24, 2015 @07:47PM
(#9775177)
Atom uses react. It has a virtual dom that changes (instead of the actual dom) which itself can set off its own events and start more changes).
When the changes to the virtual dom are complete it will compare the dom as it is to the virtual dom, find the differences and apply only the differences to the actual dom.
It's super fast since the virtual dom only has to support what it needs, as opposed to the actual dom with around 2 decades of outdated functions and properties.
Re:Rendering Improvements
by chadzawistowski on Wednesday June 24, 2015 @08:19PM
(#9775268)
I know Atom stopped using React for the editor component in February [0]. Do they continue to use React elsewhere?