react-ecs icon indicating copy to clipboard operation
react-ecs copied to clipboard

DOM Particles lifetime causes all particles to reset

Open dustinlacewell opened this issue 3 years ago • 0 comments

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...

dustinlacewell avatar Jan 22 '22 20:01 dustinlacewell