awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
immerjs avatar

immerjs/use-immer

0
View on GitHub↗
4,536 stele·101 fork-uri·TypeScript·MIT·2 vizualizări

Use Immer

use-immer este o bibliotecă de hook-uri React care oferă un hook de stare imutabilă pentru actualizarea obiectelor de stare complexe. Acesta integrează gestionarea stării Immer în ciclul de viață al componentelor React, permițând dezvoltatorilor să gestioneze tranzițiile de stare prin modificarea unui obiect draft în loc de copierea manuală a stării.

Biblioteca permite actualizarea structurilor de date profund imbricate fără utilizarea operatorilor spread pentru a copia fiecare nivel al arborelui de stare. Utilizează o abordare de draft bazată pe mutație pentru a se asigura că starea originală rămâne neatinsă în timp ce produce o nouă versiune imutabilă a datelor.

Proiectul acoperă gestionarea generală a stării React, inclusiv capacitatea de a gestiona starea cu reduceri și de a gestiona tranziții de stare complexe.

Features

  • Immutable State Hooks - Provides React hooks specifically designed to manage immutable state snapshots using a drafting pattern.
  • Immutable State Utilities - Provides utilities for updating deeply nested data structures without using manual spread operators.
  • Mutable State Transitions - Allows updating state by modifying proxy objects via mutation functions instead of manually returning new immutable states.
  • Proxy-Based Immutability - Utilizes JavaScript Proxies to intercept mutations and automatically generate new immutable state trees.
  • Mutation-Syntax Immutable Updates - Enables the use of mutation-style code to produce immutable state updates.
  • React State Management - Simplifies the management of complex internal and global state in React applications using mutable drafts.
  • Copy-On-Write Proxying - Implements copy-on-write semantics using JavaScript proxies to optimize the creation of immutable state trees.
  • React Hooks - Integrates mutation-style state transitions directly into the React hooks workflow.
  • Reducer State Management - Integrates reducer-based state management by allowing the reducer function to mutate a draft state object.

Istoric stele

Graficul istoricului de stele pentru immerjs/use-immerGraficul istoricului de stele pentru immerjs/use-immer

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face immerjs/use-immer?

use-immer este o bibliotecă de hook-uri React care oferă un hook de stare imutabilă pentru actualizarea obiectelor de stare complexe. Acesta integrează gestionarea stării Immer în ciclul de viață al componentelor React, permițând dezvoltatorilor să gestioneze tranzițiile de stare prin modificarea unui obiect draft în loc de copierea manuală a stării.

Care sunt principalele funcționalități ale immerjs/use-immer?

Principalele funcționalități ale immerjs/use-immer sunt: Immutable State Hooks, Immutable State Utilities, Mutable State Transitions, Proxy-Based Immutability, Mutation-Syntax Immutable Updates, React State Management, Copy-On-Write Proxying, React Hooks.

Care sunt câteva alternative open-source pentru immerjs/use-immer?

Alternativele open-source pentru immerjs/use-immer includ: mweststrate/use-immer — use-immer is a React state management utility that provides a custom hook for updating immutable state. It allows for… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… ctrlplusb/easy-peasy — Easy-peasy is a React state management library and typed framework that provides a centralized store for managing… jonasschmedtmann/ultimate-react-course — This project is a React learning resource consisting of starter files and reference projects. It provides a collection… mweststrate/immer — Immer is an immutable state management library for JavaScript that enables the creation of new versions of state… salesforce/akita — Akita is a JavaScript state management library that provides a system for managing application data and user interface…

Alternative open-source pentru Use Immer

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Use Immer.
  • mweststrate/use-immerAvatar mweststrate

    mweststrate/use-immer

    4,536Vezi pe GitHub↗

    use-immer is a React state management utility that provides a custom hook for updating immutable state. It allows for the modification of a temporary draft version of data to calculate the next state transition. The tool simplifies the management of complex state by enabling direct mutations on a draft, which removes the need to manually copy nested objects or arrays using spread operators. This approach ensures the generation of a new immutable snapshot for predictable state changes. The library covers capabilities for updating deeply nested state and supports processing state changes throu

    TypeScript
    Vezi pe GitHub↗4,536
  • facebook/reactAvatar facebook

    facebook/react

    245,669Vezi pe GitHub↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    Vezi pe GitHub↗245,669
  • ctrlplusb/easy-peasyAvatar ctrlplusb

    ctrlplusb/easy-peasy

    5,044Vezi pe GitHub↗

    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

    JavaScripthooksimmerimmutable
    Vezi pe GitHub↗5,044
  • jonasschmedtmann/ultimate-react-courseAvatar jonasschmedtmann

    jonasschmedtmann/ultimate-react-course

    4,463Vezi pe GitHub↗

    This project is a React learning resource consisting of starter files and reference projects. It provides a collection of full stack React project templates and component library examples to demonstrate the construction of interactive user interfaces and single page applications. The resource includes a state management guide covering the use of hooks, reducers, and context providers. It features practical implementations for managing local component state, synchronizing global application data, and handling complex state transitions. The material covers full stack web development, including

    JavaScriptreact-coursestarter-codeudemy
    Vezi pe GitHub↗4,463
Vezi toate cele 30 alternative pentru Use Immer→