How to handle Firestore request pending state. #6783
thanhtutzaw
started this conversation in
General
Replies: 1 comment
-
I use beforeunload , try,catch,finally in asyc fun and I got what I want. If you have some advance code , please let me know ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am preventing user's browser not to refresh when request are sending to database.
How can I know getDoc is pending or Successful.
I want to use with beforeunload event listener.
Problem is when user immediately refreshed, the pending request are all cancelled itself.
Beta Was this translation helpful? Give feedback.
All reactions