We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we have an option to cleanup on unmount, something similar to this:
promiseCaches.push(promiseCache); useEffect(() => () => { promiseCaches = promiseCaches.filter(p => p !== promiseCache); }, []); throw promiseCache.promise;
The text was updated successfully, but these errors were encountered:
facebook/react/issues/14563#issuecomment-453184356
when a component Suspends, we don't preserve any of its intermediate state
Sorry, something went wrong.
You can use my fork of this package react-use-await.
I solved most of package issues and also provided isolated and limited caching – hope this will help you
No branches or pull requests
Can we have an option to cleanup on unmount, something similar to this:
The text was updated successfully, but these errors were encountered: