4 ms·
A couple years ago I was looking into doing things at the reconciler level - either to wrap around PIXI or WebGL straight. Did a bunch of tests: https://dakom.g
by dakom 7y ago
A couple years ago I was looking into doing things at the reconciler level - either to wrap around PIXI or WebGL straight. Did a bunch of tests: https://dakom.github.io/react-renderer-test/ https://dakom.github.io/react-renderer-test/
Conclusion I came to is that React itself is the bottleneck - even when you take ReactDOM out of the picture and even if you do nothing in the rendering phase. Ultimately, once you need several thousand entities, you end up with anti-patterns in order to squeeze out better performance, like keeping all your entities in arrays and objects instead of each being its own component.
YMMV and it's a cool idea - don't want to rag on hard work, but thought it might help to give a heads up of the trouble I ran into :)