use-context-selector
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0
{ | ||
"name": "use-context-selector", | ||
"description": "React useContextSelector hook in userland", | ||
"version": "2.0.0-beta.0", | ||
"publishConfig": { | ||
"tag": "next" | ||
}, | ||
"version": "2.0.0", | ||
"type": "module", | ||
@@ -46,3 +43,3 @@ "author": "Daishi Kato", | ||
"test:spec": "vitest run", | ||
"apidoc": "documentation readme src/index.ts --section API --markdown-toc false --parse-extension ts --require-extension ts", | ||
"apidoc": "documentation readme src --section API --markdown-toc false --parse-extension ts", | ||
"examples:01_counter": "DIR=01_counter vite", | ||
@@ -49,0 +46,0 @@ "examples:02_person": "DIR=02_person vite", |
@@ -32,3 +32,3 @@ # use-context-selector | ||
```bash | ||
yarn add use-context-selector react scheduler | ||
npm install use-context-selector react scheduler | ||
``` | ||
@@ -49,2 +49,4 @@ | ||
If you need a simpler solution, you can use `useSyncExternalStore` without any libraries. See [an example](https://github.com/dai-shi/use-context-selector/issues/109#issuecomment-1785147682). | ||
## Usage | ||
@@ -51,0 +53,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
43149
1
261
0