use-immer is a React hook library that provides an immutable state hook for updating complex state objects. It integrates Immer state management into the React component lifecycle, allowing developers to handle state transitions by modifying a draft object rather than manually copying state. The library enables the update of deeply nested data structures without the use of spread operators to copy every level of the state tree. It uses a mutation-based draft approach to ensure that the original state remains untouched while producing a new immutable version of the data. The project covers ge
Easy-peasy is a React state management library and typed framework that provides a centralized store for managing global application state. It functions as an immutable state store and an async state orchestrator, ensuring end-to-end type safety for state definitions, actions, and derived values. The library distinguishes itself by converting direct mutation syntax into immutable updates to simplify the management of nested data. It includes a mechanism for persisting the state tree to storage and rehydrating it during the application boot process, with the ability to suspend the user interfa
Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem
Akita is a JavaScript state management library that provides a system for managing application data and user interface state. It utilizes an observable data store and immutable state containers to synchronize data across interfaces, employing an entity state manager to handle flat collections of objects with unique identifiers. The project distinguishes itself through a comprehensive history management system that supports both global application-wide state reversal and granular, per-entity undo and redo functionality. It also includes a client-side data cache with time-to-live settings to pr
use-immer هو أداة لإدارة حالة React توفر خطافاً (hook) مخصصاً لتحديث الحالة غير القابلة للتغيير (immutable). يسمح بتعديل نسخة مسودة مؤقتة من البيانات لحساب انتقال الحالة التالي.
الميزات الرئيسية لـ mweststrate/use-immer هي: Custom State Hooks, Immutable Nested Data Manipulation, Functional State Management, Runtime Snapshot Generation, Proxy-Based Immutability, Mutation-Syntax Immutable Updates, React Hooks, Immutable State Hooks.
تشمل البدائل مفتوحة المصدر لـ mweststrate/use-immer: immerjs/use-immer — use-immer is a React hook library that provides an immutable state hook for updating complex state objects. It… ctrlplusb/easy-peasy — Easy-peasy is a React state management library and typed framework that provides a centralized store for managing… effector/effector — Effector is a reactive state management library designed for building complex, event-driven applications. It functions… salesforce/akita — Akita is a JavaScript state management library that provides a system for managing application data and user interface… diegohaz/constate — Constate is a global state management tool for React designed to minimize unnecessary component re-renders. It… streamich/react-use — react-use is a collection of reusable state and effect hooks for managing common logic in React applications. It…