-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples for mutations, queryClient? #9
Comments
Hey @Holmqvist1990 👋 |
Hey @vmarcosp, thanks for the reply! 👋 The README demonstrates:
Perhaps it could also demonstrate something like:
(note: above examples don't compile) |
What error are you getting with this code? |
Would it be possible to pad out the examples with mutations and their callbacks? I've been wrestling
ReactQuery.useMutation({onSuccess: ...})
withqueryClient
(getQueryData
,setQueryData
etc) but failing to wrap my head around it.QueryClient
is listed as work in progress, but current version is1.1.0
. Can it be used?The text was updated successfully, but these errors were encountered: