@t8/react-pending 1.0.23 → 1.0.24
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 +4 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# @t8/react-pending
|
|
1
|
+
# T8 React Pending
|
|
4
2
|
|
|
5
3
|
*Concise async action state tracking for React apps*
|
|
6
4
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@t8/react-pending)   
|
|
6
|
+
|
|
7
|
+
Shared or local pending state tracking with a concise API without rewrites in the app's shared state or async actions' internals.
|
|
10
8
|
|
|
11
9
|
```diff
|
|
12
10
|
+ let [state, withState] = usePendingState("fetch-items");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t8/react-pending",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"description": "Concise async action state tracking for React apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"typescript": "^5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@t8/react-store": "^1.0.
|
|
45
|
+
"@t8/react-store": "^1.0.35"
|
|
46
46
|
}
|
|
47
47
|
}
|