Skip to content
Discussion options

You must be logged in to vote

For anyone who stumbles upon a similar, unexpected behavior:

I was entering a state where the useSWR hook's revalidate() was being called in a useEffect, causing the anomaly above. Relocating the revalidate in a promise elsewhere alleviated the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RyKilleen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant