queue-anim
queue-anim copied to clipboard
memory leak
Hi, I have the following error when using with react router dom, after I switching to a new page and going back to the one with queue-anim.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
../path/to/node_modules/rc-queue-anim/es/QueueAnim.js/__WEBPACK_DEFAULT_EXPORT__
I'm using all functional components, should I use fowardRef components?
Can you provide an reproduction?