Skip to content
Discussion options

You must be logged in to vote

isLoading that was desctructured from useMyFooQuery will update on the next re-render, so no, you can't read it in callbacks (that are executed before the re-render) and expect to have changed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@egorovsa
Comment options

Answer selected by egorovsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants