React: Prevent state updates on unmounted components
You might have seen the following warning randomly appearing in your browser console, whenever you are debugging your React app:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in...
codingdeft.hashnode.dev8 min read