react-state-history-tree

Included in this package: * a hook that extends React useState and stores state history, providing multiple-choice, customizable undo/redo functionality to states of any type (not just text inputs) * a text input React component that uses the aforemention

Browse on unpkg