mutate
signature for optimistic updates?
#1721
Unanswered
SevenOutman
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Related to #1729, an option can be added to make it available: mutate(updateUser(newUser), {
optimisticData: newUser
}) I think in general, for advanced use cases explicit option names are better than conventions (the order of parameters) for people to remember. (Not sure about the name |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
While there's example of making optimistic update with two separate
mutate
calls, why not add a newmutate
signature to act as a shortcut?Beta Was this translation helpful? Give feedback.
All reactions