react-request-hook
react-request-hook copied to clipboard
Feat: block state update on unmounted components
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.
- feat(utils): useMountedState hook;
- fix: block state update on unmounted components