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

react-singleton-hook

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-singleton-hook - npm Package Compare versions

Comparing version 2.0.25 to 2.0.27

2

package.json
{
"name": "react-singleton-hook",
"version": "2.0.25",
"version": "2.0.27",
"description": "Share custom hook state across all components",

@@ -5,0 +5,0 @@ "keywords": [

@@ -97,3 +97,3 @@ React Singleton Hook

### imperatively read hook state for non-react code
#### imperatively read hook state for non-react code
```javascript

@@ -118,3 +118,3 @@ import { useState } from 'react';

### use react-redux (or any other context) inside singletonHook
#### use react-redux (or any other context) inside singletonHook
To use react-redux or any other context-based functionality, singleton hooks should be mounted under provider in your app.

@@ -161,3 +161,3 @@ To do that, import `SingletonHooksContainer` from `react-singleton-hook` and mount anywhere in you app.

### top-level components updated before low-level components
#### top-level components updated before low-level components

@@ -164,0 +164,0 @@ ```javascript

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