Socket
Socket
Sign inDemoInstall

react-hookstore

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hookstore - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "react-hookstore",
"version": "1.1.2",
"version": "1.1.3",
"description": "A state management library for react using the bleeding edge hooks feature",

@@ -5,0 +5,0 @@ "main": "dist/react-hookstore.js",

@@ -68,3 +68,2 @@ # React Hook Store

It is possible to create multiple stores in an app.
A string name must be provided at a store creation when multiple stores are created.
Stores can be referenced by using their instance that is returned by the createStore method, as well as using their name.

@@ -76,4 +75,4 @@

const clickCount = createStore({ state: 1, name: 'clickCountStore'});
createStore({ state: 'John Doe', name: 'nameStore' });
const clickCount = createStore('clickCountStore', 0);
createStore('nameStore', 'John Doe');

@@ -80,0 +79,0 @@ // counter will start at 2

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