4 Repos
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.
Dies ist eine JavaScript-Bibliothek für unveränderliche (immutable) Daten, die verwendet wird, um Objekte und Arrays zu erstellen, die direkte Mutationen verhindern. Sie dient als Immutable-State-Manager und Objekt-Wrapper, der darauf ausgelegt ist, Datenkonsistenz durch Blockierung von Modifikationen zu gewährleisten, während die Kompatibilität mit der Standard-JavaScript-Syntax erhalten bleibt. Die Bibliothek fungiert als Konverter, der standardmäßige veränderbare Daten in eingefrorene Strukturen transformiert und diese für lokale Modifikationen wieder zurückkonvertieren kann. Dies ermöglicht einen Workflow, bei dem Daten zwischen unveränderlichen und veränderbaren Versionen gewechselt werden, um Massenbearbeitungen durchzuführen, bevor der Zustand wieder gesperrt wird. Das Projekt bietet Funktionen für die Transformation verschachtelter Daten, einschließlich pfadbasierter Updates, Deep-Merging von Objekten und Abfragen von Werten innerhalb tiefer Hierarchien. Zudem unterstützt es Array-zu-Objekt-Transformationen, das Entfernen von Eigenschaften mittels Prädikaten sowie die Fähigkeit zu erkennen, ob eine Struktur unveränderlich ist.
Optimizes immutable updates by applying multiple changes to a temporary mutable copy before re-freezing.