Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hooks-global-state

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hooks-global-state - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

21

package.json
{
"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

__tests__/__snapshots__/01_basic_spec.js.snap
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc