We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d8d7c2 + 24a4f3c commit 138bcd3Copy full SHA for 138bcd3
2 files changed
package.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "1.1.11",
+ "version": "1.1.12",
3
"main": "./src/lib/main.js",
4
"scripts": {
5
"dev": "nodemon ./src/server.js",
@@ -28,4 +28,4 @@
28
"url": "https://github.com/UnSetSoft/Ryunix/issues"
29
},
30
"homepage": "https://github.com/UnSetSoft/Ryunix#readme"
31
-}
+}
src/lib/ryunix/index.js
@@ -253,7 +253,7 @@ class Ryunix {
253
* constructor. If no value is provided, the store will be initialized with a null value.
254
* @returns A hook that creates a new instance of the Store class with an optional initial value.
255
*/
256
- useStore(val = null) {
+ storage(val = null) {
257
return new Store(val).hook();
258
}
259
0 commit comments