@nanostores/react
Advanced tools
Comparing version 0.5.0 to 0.6.0
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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
4715
70
- Removeduse-sync-external-store@^1.2.0
- Removeduse-sync-external-store@1.4.0(transitive)