v1.3.0
Add setIsUndoHistoryEnabled
to the returned store from zundo create
. This allows users to programmatically ignore or save states in the global store. const { setIsUndoHistoryEnabled } = useStore();
Thanks to @funwithtriangles! 🎉
Add setIsUndoHistoryEnabled
to the returned store from zundo create
. This allows users to programmatically ignore or save states in the global store. const { setIsUndoHistoryEnabled } = useStore();
Thanks to @funwithtriangles! 🎉