react-hooks-global-state
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "react-hooks-global-state", | ||
"description": "Simple global state for React by Hooks API", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Daishi Kato", | ||
@@ -13,2 +13,6 @@ "repository": { | ||
"types": "./src/index.d.ts", | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -48,3 +52,3 @@ "compile": "babel src -d dist", | ||
"@babel/preset-react": "^7.0.0", | ||
"@types/react": "^16.7.1", | ||
"@types/react": "^16.7.6", | ||
"@types/react-dom": "^16.0.9", | ||
@@ -63,6 +67,7 @@ "@types/redux-logger": "^3.0.6", | ||
"eslint-plugin-react": "^7.11.1", | ||
"html-webpack-plugin": "^3.2.0", | ||
"immer": "^1.7.4", | ||
"jest": "^23.6.0", | ||
"react": "^16.7.0-alpha.0", | ||
"react-dom": "^16.7.0-alpha.0", | ||
"react": "^16.7.0-alpha.2", | ||
"react-dom": "^16.7.0-alpha.2", | ||
"react-use": "3.1.0", | ||
@@ -105,2 +110,10 @@ "redux": "^4.0.1", | ||
], | ||
"import/no-unresolved": [ | ||
2, | ||
{ | ||
"ignore": [ | ||
"react-hooks-global-state" | ||
] | ||
} | ||
], | ||
"react/prop-types": 0, | ||
@@ -107,0 +120,0 @@ "no-underscore-dangle": 0, |
@@ -6,2 +6,3 @@ react-hooks-global-state | ||
[![npm version](https://badge.fury.io/js/react-hooks-global-state.svg)](https://badge.fury.io/js/react-hooks-global-state) | ||
![bundle size](https://badgen.net/bundlephobia/minzip/react-hooks-global-state) | ||
@@ -101,2 +102,15 @@ Simple global state for React by Hooks API | ||
You can also try it in codesandbox.io: | ||
[01](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/01_minimal) | ||
[02](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/02_typescript) | ||
[03](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/03_actions) | ||
[04](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/04_fetch) | ||
[05](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/05_onmount) | ||
[06](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/06_reducer) | ||
[07](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/07_middleware) | ||
[08](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/08_thunk) | ||
[09](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/09_comparison) | ||
[10](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/10_immer) | ||
[11](https://codesandbox.io/s/github/dai-shi/react-hooks-global-state/tree/master/examples/11_deep) | ||
Limitations | ||
@@ -107,3 +121,3 @@ ----------- | ||
the performance may drop down if a state holds more than 31 items. | ||
Reference: #1 | ||
Reference: [#1](https://github.com/dai-shi/react-hooks-global-state/issues/1) | ||
@@ -110,0 +124,0 @@ Blogs |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
128
25752
34
10
422
1