New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

use-context-selector

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-context-selector - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0

7

package.json
{
"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 @@

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