4 dépôts
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.
Il s'agit d'une bibliothèque de données immuables JavaScript utilisée pour créer des objets et des tableaux qui empêchent la mutation directe. Elle sert de gestionnaire d'état immuable et de wrapper d'objet conçu pour assurer la cohérence des données en bloquant les modifications tout en restant compatible avec la syntaxe JavaScript standard. La bibliothèque fonctionne comme un convertisseur qui transforme les données mutables standards en structures gelées et peut les convertir en retour pour des modifications locales. Cela permet un workflow où les données sont basculées entre des versions immuables et mutables pour effectuer des éditions en masse avant de verrouiller à nouveau l'état. Le projet fournit des capacités pour la transformation de données imbriquées, incluant les mises à jour basées sur le chemin, la fusion profonde d'objets et l'interrogation de valeurs au sein de hiérarchies profondes. Il supporte également les transformations tableau-vers-objet, la suppression de propriétés via des prédicats et la capacité de détecter si une structure est immuable.
Optimizes immutable updates by applying multiple changes to a temporary mutable copy before re-freezing.