react-undo-redo-state
Advanced tools
+1
-1
| { | ||
| "name": "react-undo-redo-state", | ||
| "version": "1.10.5", | ||
| "version": "1.10.6", | ||
| "description": "Effortlessly enable undo and redo capabilities in your React applications with this powerful custom hook. 'useUndoRedoState' empowers users with intuitive keyboard shortcuts and programmatic control, allowing them to revert or reapply state changes seamlessly. Unlock a delightful user experience with a single line of code.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
+1
-1
@@ -89,5 +89,5 @@ # useUndoRedoState | ||
| ### Summary of Changes: | ||
| ## Summary of Changes (v1.10.6): | ||
| 1. **Updated Features Section:** Added details for the new `resetState` and `clearHistory` functions. | ||
| 2. **Usage Example:** Updated the usage example to show the use of the new functions and the renamed `setValue` function. | ||
| 3. **Return Object Documentation:** Updated the documentation to reflect returning an object instead of a tuple. |
12077
0.07%