How to tell that fetcher.submit is finished? #4629
tomer-yechiel
started this conversation in
Proposals
Replies: 1 comment
-
The only way is to check the |
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.
-
Hi,
I want to reload the page without browser navigation.
so I am using useFetcher.
I want to use the API fetcher.submit but it returns void and not Promise so I can't tell when the operation is done.
is there a way to know that beside using the state field like fetcher.state?
if there isn't please consider to change the API
thanks!
Beta Was this translation helpful? Give feedback.
All reactions