Replies: 1 comment 1 reply
-
I agree, this is very counterintuitive. The future should be deleted when there are new state revisions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When undoing history and modifying the store, the new history state gets inserted in between history states i.e. past and future. Example
undo()
update store
redo()
This can be confusing when using state history like many other applications, where undoing and applying a new state deletes future states.
I suggest either changing this or providing a configuration flag to delete future when updating store.
Beta Was this translation helpful? Give feedback.
All reactions