Replies: 1 comment 1 reply
-
you could raises it up into a context with the same interface |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way for two identical instances of useMutation could share a single
status
so I can share the status across two different parts of my app without having to hoist my useMutation to parent and pass via props? This seems like it would only be possible with some sort of key identifier being passed into useMutation like useQuery's cache key. Here's a sandbox illustrating my problem:https://codesandbox.io/s/react-query-rtjjo?file=/src/index.js
Beta Was this translation helpful? Give feedback.
All reactions