Skip to content
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

Add automatic roolbackData #11

Open
klis87 opened this issue Nov 28, 2023 · 0 comments
Open

Add automatic roolbackData #11

klis87 opened this issue Nov 28, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@klis87
Copy link
Owner

klis87 commented Nov 28, 2023

Currently, when you have an optimistic update, you can define optimisticData to update data immediately.

Also you can pass rollbackData, so that data will be reverted accordingly in case of some error.

However, based on optimistic data structure and current data, actually it should be really possible to calculate rollbackData automatically, so you will not even need to thing about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant