@infini-soft/hooks-draft (npm): Immutable Memento/Draft State React Hook. Using memento pattern, this tiny ~3k package adds up handy states to anything. You can change, undo, redo, draft, clear, commit, reset. Have status isDirty and if operation are available.
Keywords: infinisoft|react|hooks|memento|state|undo|redo|no dependendy