Skip to content

Is there a way to cancel an optimistic mutation response ? #1652

Answered by kitten
strblr asked this question in Q&A
Discussion options

You must be logged in to vote

@ostrebler You can totally return undefined from an optimistic updater, so that shouldn't cause any issues. You'll have to make sure though that your updater bails when it does encounter these null results on their fields.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@strblr
Comment options

Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants