Animation becomes slow after a while (memory leak?)
a-y-u-s-h opened this issue · comments
Have a look at this video:
2022-01-16.01-10-40.mp4
I'm using this animation in my application. After the app is left to run for a while, it starts lagging (as shown in the initial part of the video), after a refresh it works fine for a while. Maybe there's a memory leak somewhere.
Hey @a-y-u-s-h, thanks for raising this! I've investigated and found a bug in our render loop, which has now been fixed. If you upgrade to version 0.0.31
of rive-react
you should not see this lagging any more.
Hey @a-y-u-s-h, thanks for raising this! I've investigated and found a bug in our render loop, which has now been fixed. If you upgrade to version
0.0.31
ofrive-react
you should not see this lagging any more.
Thank you! I had the same issue, and I solved it easily by updating the version!