zustand-fetching
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -25,2 +25,7 @@ import { produce } from "immer"; | ||
} | ||
const last = queue[queue.length - 1]; | ||
if (last) { | ||
draft.modals[last].open = true; | ||
draft.modals[last].hidden = false; | ||
} | ||
draft.queue = queue; | ||
@@ -27,0 +32,0 @@ }); |
{ | ||
"name": "zustand-fetching", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Zustand fetching helpers", |
@@ -11,7 +11,9 @@ # Zustand Fetching Helpers | ||
I propose several helpers that will take on a significant portion of the typical data work in your store. First, it is | ||
I propose several helpers that will take on a significant portion of the typical data work in your store. First of all, | ||
it is | ||
easier to see | ||
[Live example](https://codesandbox.io/p/sandbox/bitter-lake-w57ywe?selection=%5B%7B%22endColumn%22%3A44%2C%22endLineNumber%22%3A49%2C%22startColumn%22%3A44%2C%22startLineNumber%22%3A49%7D%5D&file=%2Fsrc%2Frequest%2FRequest.tsx) | ||
on _codesandbox.io_ to understand what it is and how it can help. In most cases, helpers will help lighten the store and | ||
there will be no need to split it into several parts | ||
on _codesandbox.io_ to understand what it is and how it works. In most cases, leiten controllers will help lighten the | ||
store and | ||
there will be no need to split it into several parts. | ||
@@ -36,4 +38,4 @@ Common view | ||
- [leitenPrimitive](https://github.com/Hecmatyar/zustand-fetching/blob/main/src/examples/controllers/3_Controller_Primitive.tsx) | ||
working with data like with primitive value, but it can be object, function or primitives. Have methods: _set_ and _ | ||
clear_. | ||
working with data like with primitive value, but it can be object, function or primitives. | ||
Have methods: _set_ and _clear_. | ||
- [leitenList](https://github.com/Hecmatyar/zustand-fetching/blob/main/src/examples/controllers/4_Controller_List.tsx) | ||
@@ -40,0 +42,0 @@ working with array, have methods: _set_, _clear_, _add_, _update_, _remove_, _toggle_ and _filter_. If array item is |
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
88974
1809
126