Skip to content

Allow enabled prop on useSuspenseQuery #7639

Closed Answered by MrFlashAccount
MrFlashAccount asked this question in General
Discussion options

You must be logged in to vote

@hector this seems like nowadays the proper way is to use useQuery with promise and something like an Await component for react 18.
In react 19 its use(promise)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@MrFlashAccount
Comment options

Answer selected by MrFlashAccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants