react-native-bouncing-ball
react-native-bouncing-ball copied to clipboard
Memory leak?
Thanks for this great project
I noticed that after I navigate away from the screen, the requestAnimationFrame stuff still continues to fire.
You can check this by putting a console.log in the animation restart functions
I am trying to deal with this by explicitly doing a cancelAnimationFrame in unmount hook but to no avail now