Skip to content

useQuery inside modal #5297

Answered by awmleer
cksal0805 asked this question in Q&A
Discussion options

You must be logged in to vote

If you use Modal.show, the content inside it are rendered in another React app, which is created by antd-mobile. So the context here would be isolated.

You can directly render <Modal /> in your component and this problem won't exist.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by awmleer
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