Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zustand-fetching

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zustand-fetching - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

5

dist/helpers/controllers/hooks/useLeitenModals.js

@@ -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 @@ });

2

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

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