fast, portable, and extensible cmd+k interface for your site
Introducing the ability to easily add undo & redo functionality to actions!
perform
:
createAction({
perform: () => {
// logic to perform
return () => {
// logic to undo
}
}
})
action.command.perform
action.command.undo
, redo using action.command.redo
useDeepMatches
in favor of just useMatches
. #124BaseAction
renamed to Action
Missing export, need to somehow test/enforce this when adding new modules.
n
levels of actions deep at ease, and speed. #105