Animation
React hooks that wrap window.requestAnimationFrame().
All of these hooks will automatically take care of cancelling any pending animation frame callbacks that you started if the component unmounts for example.
React hooks that wrap window.requestAnimationFrame().
All of these hooks will automatically take care of cancelling any pending animation frame callbacks that you started if the component unmounts for example.