#`useQuery()` throws `Invalid hook call`.
6 messages ยท Page 1 of 1 (latest)
Here's where useQuery throws no error and behaves correctly
This is where useQuery throws the error
My routers file
main.tsx where it all comes together
As you can see I'm not trying to call useQuery from inside an event callback or whatever, it's just a regular top-level hook