react-ecs
react-ecs copied to clipboard
DOM Particles lifetime causes all particles to reset
https://react-ecs.ldlework.com/examples/core/DOMParticles
On this example when engine.removeEntity(e)
is called, the whole particle system gets reset.
I suspect this has something to do with some react component being re-rendered when the data changes...