1 repository
A persistence strategy that creates new nodes along the path to a modification to preserve previous state versions.
Distinct from Path-to-Array Converters: Focuses on immutable state persistence via path duplication rather than converting paths to arrays.
Explore 1 awesome GitHub repository matching data & databases · Path-Copying Persistence. Refine with filters or upvote what's useful.
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
Uses path-copying persistence to create new versions of data structures while preserving previous state.