Skip to content

useQuery should return a dataPromise as well as data for easy migration #705

Discussion options

You must be logged in to vote

could you give an example?
could you use onSuccess: (result) => Promise.resolve(result).then(...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stevenroussey-privicy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants