3 ms·
One interesting benefit React's tree + diffing system is that you can use a custom reconciler to do more than just create and update DOM nodes. And a good exam
by hombre_fatal 2y ago
One interesting benefit React's tree + diffing system is that you can use a custom reconciler to do more than just create and update DOM nodes.
And a good example of that are React libraries that turn stateful imperative APIs into declarative nodes:
- https://r3f.docs.pmnd.rs/getting-started/introduction https://r3f.docs.pmnd.rs/getting-started/introduction
- https://github.com/pixijs/pixi-react https://github.com/pixijs/pixi-react
- ryansolid 2y agoIt isn't necessary. Solid has a similar custom renderer, with Pixi, three.js, terminal, etc... integrations. Solid is actually used a lot in embedded applications since it is low memory and performant. It powers Comcast's TV application applications like Peacock.