Skip to content
Discussion options

You must be logged in to vote

If it's a blog post, just don't delete the value from the input field, like the optimistic update example does it. Keep the value, maybe disable the field to disallow further editing. Clear the value onSuccess, and onError do the rollback and just enable the field again.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cmacdonnacha
Comment options

@TkDodo
Comment options

@cmacdonnacha
Comment options

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