4 个仓库
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.
这是一个 JavaScript 不可变数据库,用于创建防止直接修改的对象和数组。它作为一个不可变状态管理器和对象包装器,通过阻止修改来确保数据一致性,同时保持与标准 JavaScript 语法的兼容性。 该库的功能类似于转换器,可将标准可变数据转换为冻结结构,并在需要本地修改时将其转回。这种工作流允许在不可变和可变版本之间切换数据,以便在再次锁定状态前进行批量编辑。 该项目提供了嵌套数据转换功能,包括基于路径的更新、对象深度合并以及在深层结构中查询值。它还支持数组到对象的转换、通过谓词移除属性,以及检测结构是否为不可变的能力。
Optimizes immutable updates by applying multiple changes to a temporary mutable copy before re-freezing.