I want to put some state variable inside my React Component, pass this variable to react-aframe Component and then change some aframe scenes / items with this variable.
Does React state change and React re-rendering can kill A-frame and core three.js rendering performances ?
@ngokevin
I want to put some state variable inside my React Component, pass this variable to react-aframe Component and then change some aframe scenes / items with this variable.
Does React
state change
and Reactre-rendering
can kill A-frame and core three.js rendering performances ?Instead would you recommend using : https://www.npmjs.com/package/aframe-state-component ?
Thanks a lot !