react-native-global-state-hooks 10.0.1 → 10.1.0

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 CHANGED
@@ -8,16 +8,14 @@ Effortless **global state management** for React & React Native! 🚀 Define a *
8
8
 
9
9
  ## 🔗 Explore More
10
10
 
11
- - **[Live Example](https://johnny-quesada-developer.github.io/react-global-state-hooks-example/)** 📘
12
- - **[React Native Integration](https://www.npmjs.com/package/react-native-global-state-hooks/)** 📱
13
- - **[Todo-List Example](https://github.com/johnny-quesada-developer/todo-list-with-global-hooks.git/)** 📝
11
+ - **[Live Example](https://johnny-quesada-developer.github.io/global-hooks-example/)** 📘
14
12
  - **[Video Overview](https://www.youtube.com/watch?v=1UBqXk2MH8I/)** 🎥
15
- - **[GitHub Repository](https://github.com/johnny-quesada-developer/global-hooks-example/)** 🧩
16
13
 
17
14
  Works seamlessly with **React & React Native**:
18
15
 
19
- - **[react-global-state-hooks](https://www.npmjs.com/package/react-global-state-hooks)** for web applications.
20
- - **[react-native-global-state-hooks](https://www.npmjs.com/package/react-native-global-state-hooks)** for React Native projects.
16
+ - **[react-hooks-global-states](https://www.npmjs.com/package/react-hooks-global-states)** compatible with both `React & React Native`
17
+ - **[react-global-state-hooks](https://www.npmjs.com/package/react-global-state-hooks)** specific for web applications (**local-storage integration**).
18
+ - **[react-native-global-state-hooks](https://www.npmjs.com/package/react-native-global-state-hooks)** specific for React Native projects (**async-storage integration**).
21
19
 
22
20
  ---
23
21
 
package/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { uniqueId } from "./uniqueId";
8
8
  export { throwWrongKeyOnActionCollectionConfig } from "./throwWrongKeyOnActionCollectionConfig";
9
9
  export { isRecord } from "./isRecord";
10
10
  export { uniqueSymbol, type UniqueSymbol } from "./uniqueSymbol";
11
- export { useStableState, type UseStableState } from "./useStableState";
11
+ export { useStableState } from "./useStableState";
12
12
  export { type ContextProviderAPI, type ContextProvider, type ContextHook, type CreateContext, createContext, } from "./createContext";
13
13
  export type { AsyncStorageConfig } from "./types";
14
14
  export { GlobalStore } from "./GlobalStore";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-global-state-hooks",
3
- "version": "10.0.1",
3
+ "version": "10.1.0",
4
4
  "description": "This is a package to easily handling global-state across your react-native-components No-redux... The library now includes @react-native-async-storage/async-storage to persist your state across sessions... if you want to keep using the old version without async-storage or react-native dependencies just use version 5.0.15 or user react-hooks-global-states instead",
5
5
  "main": "./bundle.js",
6
6
  "types": "./index.d.ts",
@@ -169,6 +169,6 @@
169
169
  }
170
170
  },
171
171
  "dependencies": {
172
- "react-hooks-global-states": "^8.0.4"
172
+ "react-hooks-global-states": "^8.1.0"
173
173
  }
174
174
  }
@@ -1 +1 @@
1
- export { useStableState, UseStableState, default } from "react-hooks-global-states/useStableState";
1
+ export { useStableState, default } from "react-hooks-global-states/useStableState";