useQuery inside modal #1735
Unanswered
chandlervdw
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Is the modal still part of the react component tree that contains the Provider? You can inspect that in the react devtools |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a modal that gets attached inside my
<div id="root" />
which contains my app (wrapped inQueryClientProvider
). But I get the following error when that modal gets mounted/attached:I've got other
useQuery()
hooks working throughout the app but not in this modal. What am I missing here?Beta Was this translation helpful? Give feedback.
All reactions