react-native-global-state-hooks 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -7
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # react-native-global-state-hooks
2
- This is a package to easily handling global-state across your react-native-components No-redux, No-context.
2
+ This is a package to easily handling global-state across your react-native-components **No-redux**.
3
3
 
4
- This utility follows the same style as the default useState hook, this in order to be an intuitive and easy to use
4
+ This utility follows the same style as the default **useState** hook, this in order to be intuitive and easy to use
5
5
 
6
6
  **after version 1.0.4, we migrated to @react-native-async-storage/async-storage, because @react-native-async-storage/async-storage has been deprecated!!**
7
7
 
@@ -79,7 +79,7 @@ export const [getCountGlobalValue, setCountGlobalValue] = countStore.getHookDeco
79
79
 
80
80
  If you want to access the global state outside a component or outside a hook, or without subscribing the component to the state changes...
81
81
 
82
- This is especially useful when you want when you create components that have edition access to a certain store, but they actually don't need to be reactive to the state changes, like a search component that just need to get the current state every time that is going to search the data; but actually don't need to be subscribed to the changes over the collection he is going to be filtering.
82
+ This is especially useful when you want to create components that have edition access to a certain store, but they actually don't need to be reactive to the state changes, like a search component that just need to get the current state every time that is going to search the data; but actually don't need to be subscribed to the changes over the collection he is going to be filtering.
83
83
 
84
84
 
85
85
  Let's see a trivial example:
@@ -110,4 +110,4 @@ const Stage2: React.FC = () => {
110
110
  3. This tool also take care for you to avoid **async-storage*** data to lose the data types that you stored. For example when you are using datetimes
111
111
 
112
112
  ## Advance Config
113
- [README]: ./README.advance.md
113
+ [README]:./README.advance.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-global-state-hooks",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "This is a package to easily handling global-state across your react-native-components No-redux",
5
5
  "main": "lib/GlobalStore.js",
6
6
  "files": [
@@ -63,11 +63,5 @@
63
63
  "lodash": "workspace:*",
64
64
  "react": "workspace:*",
65
65
  "react-dom": "workspace:*"
66
- },
67
- "dependencies": {
68
- "@react-native-async-storage/async-storage": "^1.15.14",
69
- "lodash": "^4.17.21",
70
- "react": "^17.0.2",
71
- "react-dom": "^17.0.2"
72
66
  }
73
67
  }