useUndoRedoState

About

Setstate but can also undo and redo

Examples

import {useUndoRedoState} from "rooks"
export default function App() {
useUndoRedoState();
return null
}

Join the community!

Join our discord server! You can click the floating discord icon at the bottom right of the screen and chat with us!

Powered by vercel