Potential Memory Leak issue
Opened this issue · 0 comments
jamesattard commented
Although this module works and does what it says on the tin, I noticed that there is a memory leak. I get this warning message:
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.
in SwipeableWrapper (at MyComponent.js:42)
in Card (at MyComponent.js:88)