valtio-history 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# valtio-history
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/js/valtio-history)
|
|
4
|
-
|
|
5
3
|
valtio utility for creating a proxy state with history tracking
|
|
6
4
|
|
|
5
|
+
[](https://badge.fury.io/js/valtio-history)
|
|
6
|
+
|
|
7
7
|
https://valtio.pmnd.rs/docs/api/utils/proxyWithHistory
|
|
8
8
|
|
|
9
9
|
see detailed [api docs](https://github.com/valtiojs/valtio-history/blob/main/packages/history-utility/docs/modules.md) for more info.
|
|
@@ -35,10 +35,9 @@ export default function App() {
|
|
|
35
35
|
undo,
|
|
36
36
|
redo,
|
|
37
37
|
history,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
getNode,
|
|
38
|
+
isUndoEnabled,
|
|
39
|
+
isRedoEnabled,
|
|
40
|
+
currentChangeDate,
|
|
42
41
|
remove,
|
|
43
42
|
replace,
|
|
44
43
|
} = useSnapshot(state);
|