4 repository-uri
Applying multiple changes to a temporary mutable copy of a persistent structure for performance.
Distinct from Query Batching: Focuses on performance optimization of immutable updates rather than grouping network queries.
Explore 4 awesome GitHub repositories matching data & databases · Immutable Mutation Batching. Refine with filters or upvote what's useful.
This is a persistent data structure library for JavaScript that provides collections which prevent the direct mutation of objects and arrays. It serves as an immutable state management tool and functional programming utility, ensuring that data remains unchanged after creation to simplify change detection and state tracking. The library enables the maintenance of application state by producing new versions of data structures during updates. It focuses on efficient data comparison by checking actual content instead of memory references and supports a functional programming workflow to prevent
Enables batching multiple mutations into a temporary state to reduce the overhead of creating intermediate objects.
Immutable.js is a library of persistent data structures and a functional state management toolkit. It provides a collection of immutable objects and arrays that prevent direct mutation to ensure predictable state management in JavaScript applications. The library utilizes structural sharing to efficiently create new versions of data without full copying and implements lazy sequence processing to chain data transformations that execute only when values are requested. It also supports batch mutation processing, allowing multiple changes to be applied to a temporary mutable copy before returning
Supports batch mutation processing using temporary mutable copies to optimize performance during multiple rapid updates.
Draft-js is a framework for building customizable rich text editors within React applications. It functions as a content editable framework that separates the underlying data model from the visual rendering layer, acting as a rich text content engine to manage complex text data and formatting. The project utilizes an immutable state management system to ensure consistent updates and predictable undo history. It manages editor state through persistent data structures, providing an immutable data state manager to prevent accidental mutation. The framework includes capabilities for high perform
Implements a batch-mutation layer that temporarily uses mutable data for performance before returning an immutable state.
Aceasta este o bibliotecă de date imutabile JavaScript utilizată pentru a crea obiecte și array-uri care previn mutarea directă. Servește drept manager de stare imutabilă și wrapper de obiecte conceput pentru a asigura consistența datelor prin blocarea modificărilor, rămânând în același timp compatibil cu sintaxa JavaScript standard. Biblioteca funcționează ca un convertor care transformă datele mutabile standard în structuri înghețate și le poate converti înapoi pentru modificări locale. Acest lucru permite un flux de lucru în care datele sunt comutate între versiuni imutabile și mutabile pentru a efectua editări în masă înainte de a bloca din nou starea. Proiectul oferă capabilități pentru transformarea datelor imbricate, inclusiv actualizări bazate pe cale, îmbinarea profundă (deep merging) a obiectelor și interogarea valorilor în ierarhii profunde. De asemenea, suportă transformări array-to-object, eliminarea proprietăților prin predicate și capacitatea de a detecta dacă o structură este imutabilă.
Optimizes immutable updates by applying multiple changes to a temporary mutable copy before re-freezing.