Socket
Socket
Sign inDemoInstall

zustand-fetching

Package Overview
Dependencies
11
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.5 to 2.0.6

2

package.json
{
"name": "zustand-fetching",
"version": "2.0.5",
"version": "2.0.6",
"private": false,

@@ -5,0 +5,0 @@ "description": "Zustand fetching helpers",

@@ -21,6 +21,2 @@ # Zustand Fetching Helpers

const useController = leiten[Controller](useStore, "dot.nested.path", [options]);
const Component = () => {
const status = useController(state => statet.status);
return status !== "loading" ? <>content</> : null;
}
```

@@ -27,0 +23,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc