I'm getting react memory leak warnings on the latest version: "react-render-if-visible": "^2.1.1"
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.
Perhaps window.cancelIdleCallback() needs to be returned as a cleanup somewhere. Will see if I can do some investigation here but wanted to report right away.
I'm getting react memory leak warnings on the latest version:
"react-render-if-visible": "^2.1.1"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.Perhaps
window.cancelIdleCallback()needs to be returned as a cleanup somewhere. Will see if I can do some investigation here but wanted to report right away.