主题
第三方库
¥Third-party Libraries
Zustand 为状态管理提供了必要的支持。虽然它对大多数项目来说都很棒,但有些用户希望扩展库的功能集。这可以使用社区创建的第三方库来完成。
¥Zustand provides bear necessities for state management. Although it is great for most projects, some users wish to extend the library's feature set. This can be done using third-party libraries created by the community.
免责声明:这些库可能有错误、维护有限或其他限制,并且不受 pmndrs 或 Zustand 维护者的官方推荐。此列表旨在为希望扩展 Zusand 功能集的人提供一个良好的起点。
¥Disclaimer: These libraries may have bugs, limited maintenance, or other limitations, and are not officially recommended by pmndrs or the Zustand maintainers. This list aims to provide a good starting point for someone looking to extend Zustand's feature set.
@colorfy-software/zfy — 🧸 使用 Zustand 在 React 中进行状态管理的有用助手。
¥@colorfy-software/zfy — 🧸 Useful helpers for state management in React with Zustand.
@davstack/store — zustand 存储工厂,可自动生成具有 get/set/use 方法的选择器,支持推断类型,并简化全局/本地状态管理。
¥@davstack/store — A zustand store factory that auto generates selectors with get/set/use methods, supports inferred types, and makes global / local state management easy.
@dhmk/zustand-lens — Zustand 的 Lens 支持。
¥@dhmk/zustand-lens — Lens support for Zustand.
@liveblocks/zustand — Liveblocks 中间件,让你的应用实现多人游戏。
¥@liveblocks/zustand — Liveblocks middleware to make your application multiplayer.
@prncss-xyz/zustand-optics — optics-ts 的适配器。
¥@prncss-xyz/zustand-optics — An adapter for optics-ts.
auto-zustand-selectors-hook — 自动生成支持 Typescript 的 zustand 钩子。
¥auto-zustand-selectors-hook — Automatic generation of Zustand hooks with Typescript support.
derive-zustand — 一个从其他 Zustand 存储创建派生 Zustand 存储的函数。
¥derive-zustand — A function to create a derived Zustand store from other Zustand stores.
geschichte — 用于管理查询参数的 Zustand 和基于 Immer 的钩子。
¥geschichte — Zustand and Immer-based hook to manage query parameters.
leiten-zustand — 清除存储中的样板,以进行请求和数据转换。
¥leiten-zustand — Cleans your store from boilerplate for requests and data transformation.
leo-query — 一个用于将异步查询连接到 Zustand 存储的简单库。
¥leo-query — A simple library to connect async queries to Zustand stores.
mobz — Zustand 风格的 MobX API。
¥mobz — Zustand-style MobX API.
ngx-zustand — Angular 的 Zustand 适配器。
¥ngx-zustand — A Zustand adapter for Angular.
persist-and-sync — Zustand 中间件,可轻松持久化和同步具有相同来源的选项卡/窗口/iframe 之间的 Zustand 状态。
¥persist-and-sync — Zustand middleware to easily persist and sync Zustand state between tabs/windows/iframes with same origin.
shared-zustand — Zustand 的跨选项卡状态共享。
¥shared-zustand — Cross-tab state sharing for Zustand.
simple-zustand-devtools — 🐻⚛️ 在 React DevTools 中检查你的 Zustand 存储。
¥simple-zustand-devtools — 🐻⚛️ Inspect your Zustand store in React DevTools.
solid-zustand — 使用 Zustand 在 Solid 中进行状态管理。
¥solid-zustand — State management in Solid using Zustand.
treeshakable — 库创建者的封装器,以避免冗余存储创建。
¥treeshakable — A wrapper for library creators to avoid redundant store creation.
use-broadcast-ts — Zustand 中间件,可在选项卡之间共享状态。
¥use-broadcast-ts — Zustand middleware to share state between tabs.
use-zustand — 另一个使用 zustand vanilla 存储的自定义钩子。
¥use-zustand — Another custom hook to use Zustand vanilla store.
vue-zustand — 基于 Zustand 的 Vue 状态管理解决方案。
¥vue-zustand — State management solution for Vue based on Zustand.
zoov — 基于 Zustand 的状态管理解决方案,具有类似模块的 API。
¥zoov — State management solution based on Zustand with Module-like API.
zukeeper — 具有状态和动作跟踪、差异、树形显示和时间旅行的原生 devtools
¥zukeeper — Native devtools with state and action tracking, diffing, tree display, and time travel
zundo — 🍜 撤消和重做 Zustand 中间件,在你的应用中启用时间旅行。
¥zundo — 🍜 Undo and redo middleware for Zustand, enabling time-travel in your apps.
zustand-ards — 💁 简单的自以为是的实用程序,例如替代选择器格式和默认浅钩子
¥zustand-ards — 💁 Simple opinionated utilities for example alternative selector formats and default shallow hooks
zustand-async-slice - 用于创建异步切片的简单 Zustand 实用程序。完全支持 TypeScript 🖖
¥zustand-async-slice - Simple Zustand utility to create Async Slice. TypeScript Fully Supported 🖖
zustand-boilerplate — 一个为你的 zustand 存储自动生成 getter、setter 等的工具。
¥zustand-boilerplate — A tool that automatically generates getters, setters and more for your zustand store.
zustand-computed — 用于创建计算状态的 Zustand 中间件。
¥zustand-computed — A Zustand middleware to create computed states.
zustand-computed-state — 添加计算状态的简单中间件。
¥zustand-computed-state — Simple middleware to add computed states.
zustand-constate — 基于 zustand 的上下文状态管理,并从 Constate 中汲取灵感。
¥zustand-constate — Context-based state management based on Zustand and taking ideas from Constate.
zustand-context — 在 React Context 中创建一个 zustand 存储,包含初始值,或者在你的组件中使用它,并使用隔离的可模拟实例。
¥zustand-context — Create a zustand store in React Context, containing an initial value, or use it in your components with isolated, mockable instances.
zustand-di — 使用 react props 初始化 zustand 存储
¥zustand-di — use react props to init zustand stores
zustand-forms — Zustand 存储的快速、类型安全的表单状态。
¥zustand-forms — Fast, type safe form states as Zustand stores.
zustand-hash-storage — 用于将状态保存到 URL 哈希、b64 编码(可配置)和去抖动计时器中的 Zustand 中间件。
¥zustand-hash-storage — Zustand middleware for saving state into URL hash, b64 encoded (can be configured) and debounce timer.
zustand-injectors — 延迟加载切片的完美方式
¥zustand-injectors — A sweet way to lazy load slices
zustand-interval-persist — zustand 的增强功能,可定期自动将存储的状态保存到指定的存储中。
¥zustand-interval-persist — An enhancement for zustand that enables automatic saving of the store's state to the specified storage at regular interval.
zustand-lit — lit.js (LitElement) 的 zustand 适配器
¥zustand-lit — A zustand adapter for lit.js (LitElement)
zustand-middleware-computed-state — 一个用于将计算状态添加到 Zustand 的简单中间件。
¥zustand-middleware-computed-state — A dead simple middleware for adding computed state to Zustand.
zustand-middleware-xstate — 一个用于将 XState 状态机放入全局 Zustand 存储的中间件。
¥zustand-middleware-xstate — A middleware for putting XState state machines into a global Zustand store.
zustand-middleware-yjs — 一个用于将 Zustand 存储与 Yjs 同步的中间件。
¥zustand-middleware-yjs — A middleware for synchronizing Zustand stores with Yjs.
zustand-persist — 一个用于持久化和重新补水状态的中间件。
¥zustand-persist — A middleware for persisting and rehydrating state.
zustand-pub — 基于 zustand 和 zustand-vue 的 React/Vue 跨应用/跨框架状态管理和共享。
¥zustand-pub — Cross-Application/Cross-Framework State Management And Sharing based on zustand and zustand-vue for React/Vue.
zustand-querystring — 将存储与查询字符串同步的 Zustand 中间件。
¥zustand-querystring — A Zustand middleware that syncs the store with the querystring.
zustand-rx — Zustand 中间件,使你能够以 RxJS Observable 的形式订阅存储。
¥zustand-rx — A Zustand middleware enabling you to subscribe to a store as an RxJS Observable.
zustand-saga — redux-saga(减去 redux)的 Zustand 中间件。
¥zustand-saga — A Zustand middleware for redux-saga (minus redux).
zustand-slices — Zustand 的切片实用程序。
¥zustand-slices — A slice utility for Zustand.
zustand-store-addons — Zustand 的 React 状态管理插件。
¥zustand-store-addons — React state management addons for Zustand.
zustand-sync-tabs — Zustand 中间件,可轻松同步具有相同来源的选项卡/窗口/iframe 之间的 Zustand 状态。
¥zustand-sync-tabs — Zustand middleware to easily sync Zustand state between tabs/windows/iframes with same origin.
zustand-valtio — Zustand 和 Valtio 的完美组合
¥zustand-valtio — A sweet combination of Zustand and Valtio
zustand-vue — 基于 zustand 的 vue(Vue3 / Vue2)状态管理。
¥zustand-vue — State management for vue (Vue3 / Vue2) based on zustand.
zustand-x — Zustand 存储工厂,提供一流的开发者体验。
¥zustand-x — Zustand store factory for a best-in-class developer experience.
zustand-xs — Zustand 的 XState/store 兼容中间件
¥zustand-xs — XState/store compabile middleware for Zustand
zustand-yjs — 用于 Yjs 结构的 Zustand 存储。
¥zustand-yjs — Zustand stores for Yjs structures.
zusteller — 你的全局状态救星。"只是钩子" + 状态。
¥zusteller — Your global state savior. "Just hooks" + Zustand.
zusty — Zustand 工具,用于协助调试时间旅行、操作日志、状态快照、存储视图、渲染时间指标和状态组件树。
¥zusty — Zustand tool to assist debugging with time travel, action logs, state snapshots, store view, render time metrics and state component tree.
zutron — 在 Electron 应用中无缝使用 Zustand。
¥zutron — Use Zustand in Electron apps, seamlessly.