react-state-animation for canvas performance
react-state-animation
provides a capability to update React component's state by requestAnimationFrame with a simple APIs.
This works with regular
React
component and
React Canvas
.
View on GitHub
This demo is for performance check between React Canvas with setState (asynchronous and batch) and without setStates. Press start to check animation
Start
Stop
Resume