zustand-fetching
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"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 @@ |
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
88257
121