Usage of defineMutation and useMutation #317
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
julianctni
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
in my current project I want to organize my mutations using
defineMutation
in a seperate file. In my component I then want to use that mutation usinguseMutation
. I am doing the exact same thing with queries (defineQuery
/defineQueryOptions
and using these inuseQuery
)However I can't use the defined mutation here.

Am I doing something wrong? Or is this a bug?
Best regards
Julian
Beta Was this translation helpful? Give feedback.
All reactions