-
Notifications
You must be signed in to change notification settings - Fork 0
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: revertable changes #181
Labels
Comments
dxinteractive
changed the title
Add: ParcelHoc buffer and ability to return promises from onChange()
Add: ability to revert changes in a ParcelBoundary
Feb 13, 2019
dxinteractive
changed the title
Add: ability to revert changes in a ParcelBoundary
Add: async ParcelHocs + ability to revert changes in a ParcelBoundary
Mar 3, 2019
Even better, promises should be able to be returned from |
dxinteractive
changed the title
Add: async ParcelHocs + ability to revert changes in a ParcelBoundary
Add: async useParcelState + ability to revert changes in useParcelBuffer
May 27, 2019
dxinteractive
changed the title
Add: async useParcelState + ability to revert changes in useParcelBuffer
Add: revertable changes
May 27, 2019
Also could make sense to set |
This was referenced Jun 4, 2019
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
async useParcelState + ability to revert changes in useParcelBuffer
ParcelBoundary can pass a reverter function into a change request, so that higher things like
useParcelState
can call that to telluseParcelBuffer
to revert. Sounds loopy and inverted, but fromuseParcelBuffer
's POV it's just another kind of trigger to change.The text was updated successfully, but these errors were encountered: