-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi, thanks for this repo! Feature request—it’d be really nice if I could group actions in the history, so one or more get grouped in a single undo action.
An example use-case would be when an element’s position is stored in state along with other attributes and I might want a sequence of position changes to group together while other attribute updates would be individual states in the history.
In the meantime, my workarounds are either trying to manage additional state in a separate context (which solves a lot of the scenarios, but eventually gets dodgy) or I could switch to redux and use redux-undo, which allows you set a custom grouping function.
Metadata
Metadata
Assignees
Labels
No labels