react-global-state-hooks 10.0.0 → 10.0.2
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 +22 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,6 +19,28 @@ Works seamlessly with **React & React Native**:
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## 🚀 React Hooks Global States - DevTools Extension
|
|
23
|
+
|
|
24
|
+
React Hooks Global States includes a dedicated, `devTools extension` to streamline your development workflow! Easily visualize, inspect, debug, and modify your application's global state in real-time right within your browser.
|
|
25
|
+
|
|
26
|
+
### 🔗 [Install the DevTools Extension for Chrome](https://chromewebstore.google.com/detail/bafojplmkpejhglhjpibpdhoblickpee/preview?hl=en&authuser=0)
|
|
27
|
+
|
|
28
|
+
### 📸 DevTools Highlights
|
|
29
|
+
|
|
30
|
+
| **Track State Changes** | **Modify the State** |
|
|
31
|
+
| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
32
|
+
|  |  |
|
|
33
|
+
| Effortlessly monitor state updates and history. | Instantly edit global states directly from the extension. |
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
| **Restore the State** | **Custom Actions Granularity** |
|
|
38
|
+
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
39
|
+
|  |  |
|
|
40
|
+
| Quickly revert your application to a previous state. | Precisely debug specific actions affecting state changes. |
|
|
41
|
+
|
|
42
|
+
<br>
|
|
43
|
+
|
|
22
44
|
## 🗂️ Persisting State with LocalStorage
|
|
23
45
|
|
|
24
46
|
To persist the global state using **LocalStorage**, simply add the `localStorage` option:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-global-state-hooks",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "This is a package to easily handling global-state across your react components No-redux, No-context.",
|
|
5
5
|
"main": "./bundle.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -161,6 +161,6 @@
|
|
|
161
161
|
"react": ">=18.0.0"
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
|
-
"react-hooks-global-states": "^9.0.
|
|
164
|
+
"react-hooks-global-states": "^9.0.1"
|
|
165
165
|
}
|
|
166
166
|
}
|