use-state-with-history
v0.0.4
Published
## How to use
Downloads
1
Readme
use-state-with-history
How to use
import { useStateWithHistory } from "use-state-with-history";
function Component() {
const [value, setValue, { history, forward, backward, go }] =
useStateWithHistory<number>(0);
}