Get the last payload of a mutation #4408
Unanswered
gajraj-gan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am looking to get the last payload of a mutation.
For e.g.,
const [trigger] = useApiMutation()
trigger(a)
// in another function
--> get
a
so that i can compare it with another variable.I have checked the docs, and you can share the response using
fixedCachedKey
and not the payload.Beta Was this translation helpful? Give feedback.
All reactions