react-native-global-state-hooks 6.0.3 → 6.0.5
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 +14 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
# react-native-global-state-hooks
|
|
1
|
+
# react-native-global-state-hooks 🌟
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+

|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Hi There! Welcome to **react-native-global-state-hooks** your New State Management Solution for React Native Components 🚀
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Are you looking for a solution to manage **global state** in your **React Native components**? Look no further!
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
**react-native-global-state-hooks** is your option for efficiently handling global state management in your React Native applications.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
One line of code for a **global state**! try it out now on [CODEPEN-react-global-state-hooks](https://codepen.io/johnnynabetes/pen/WNmeGwb?editors=0010) and witness the magic ✨.
|
|
12
|
+
|
|
13
|
+
For a deeper dive into how these hooks work, check out a comprehensive example at [react-global-state-hooks-example](https://johnny-quesada-developer.github.io/react-global-state-hooks-example/) 📘.
|
|
14
|
+
|
|
15
|
+
You can explore a **TODO-LIST** example using global state and asynchronous storage by heading to [todo-list-with-global-hooks](https://github.com/johnny-quesada-developer/todo-list-with-global-hooks.git) 📝.
|
|
16
|
+
|
|
17
|
+
For a more visual introduction, watch our informative video [here!](https://www.youtube.com/watch?v=1UBqXk2MH8I) 🎥 and dive into the code on [global-hooks-example](https://github.com/johnny-quesada-developer/global-hooks-example) 🧩.
|
|
18
|
+
|
|
19
|
+
The best part? **react-hooks-global-states** is compatible with both **React** and **React Native**. If you're building web applications, explore this [**react-global-state-hooks**](https://www.npmjs.com/package/react-global-state-hooks), and for your React Native projects, here you are **react-native-global-state-hooks**. These specialized libraries extend the capabilities of **react-hooks-global-states** to perfectly fit your specific development environments. Discover the ease of global state management today! 🌐
|
|
12
20
|
|
|
13
21
|
# Creating a global state
|
|
14
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-global-state-hooks",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
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": "lib/bundle.js",
|
|
6
6
|
"types": "lib/src/index.d.ts",
|
|
@@ -93,6 +93,6 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"react-hooks-global-states": "^1.0.
|
|
96
|
+
"react-hooks-global-states": "^1.0.4"
|
|
97
97
|
}
|
|
98
98
|
}
|