-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimistic updates #287
Comments
I think we can use one of the two, since the store is already implemented with Redux:
This would mean modifying how we handle the Do you have experience working with Redux? Perhaps you could help implement this! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Client-side optimistic updates should work pretty seamlessly if there's a way to tell the mutation "here's the data to use until the response comes back". The trick will be figuring out how to get that into the current syntax and deciding how it gets undone in the event of a failure, since a failed server call probably can't be expected to reliably undo the optimistic update by sending down the opposite change (seeing how it failed, after all).
The text was updated successfully, but these errors were encountered: