useStateHistory*

Keeps track of state history. You can move back/forward in history.

hooks

Current value: 1

{
  "history": [
    1
  ],
  "current": 0
}

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-state-history
# └──> Hook coming soon.

Usage