Closed elyobo closed 3 years ago
This is probably a better fix for #19 than #20. #20 avoids the error by preventing the (ongoing) animations from affecting the state, this stops the animation from running on unmount so that it doesn't try to update the state at all.
Thanks @elyobo! A new version was published with your correction
Thanks @Leocardoso94.
This is probably a better fix for #19 than #20. #20 avoids the error by preventing the (ongoing) animations from affecting the state, this stops the animation from running on unmount so that it doesn't try to update the state at all.