etherealengine
etherealengine copied to clipboard
Use React.Offscreen to deprioritize reactors
We can use React.Offscreen to easily deprioritize reactors that are outside of the viewer's frustum, and/or far away.
https://beta.reactjs.org/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022#offscreen
https://jser.dev/react/2022/04/17/offscreen-component.html