Skip to content

Data from useQuery hook undefined #2752

Answered by phryneas
ItsSmiffy asked this question in Q&A
Discussion options

You must be logged in to vote

This will fire a new query on each render because every render you provide a new timestamp as argument. As a result it will probably never finish.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by phryneas
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