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

@nanostores/react

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanostores/react - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

3

index.js
import { listenKeys } from 'nanostores'
import { useCallback } from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
import { useCallback, useSyncExternalStore } from 'react'

@@ -5,0 +4,0 @@ export function useStore(store, opts = {}) {

{
"name": "@nanostores/react",
"version": "0.5.0",
"version": "0.6.0",
"description": "React integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores",

@@ -31,5 +31,2 @@ "keywords": [

],
"dependencies": {
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {

@@ -36,0 +33,0 @@ "nanostores": "^0.8.0",

@@ -9,3 +9,3 @@ # Nano Stores React

* **Small.** Less than 2 KB. Zero dependencies.
* **Small.** Less than 1 KB. Zero dependencies.
* **Fast.** With small atomic and derived stores, you do not need to call

@@ -12,0 +12,0 @@ the selector function for all components on every store change.

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