Skip to content
Discussion options

You must be logged in to vote

Unless I clear the cache before the page component mounts, useQuery will always load from the cache

check for isFetchedAfterMount to avoid displaying stale data.

Replies: 1 comment 1 reply

Comment options

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

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