#mutative

[ follow ]
fromGitHub
15 hours ago

GitHub - mutativejs/travels: A fast, framework-agnostic undo/redo core powered by Mutative patches

Efficient History Storage with JSON Patches: Instead of storing full state snapshots for each history entry, travels uses JSON Patch (RFC 6902) to store only the differences between states. This dramatically reduces memory usage, especially for large state objects with small changes. For example, changing a single field in a 1MB object only stores a few bytes in history. High-Performance Immutable Updates: Mutative is 10x faster than Immer and provides a mutation-based API for updating immutable data structures.
React
JavaScript
fromGitHub
2 days ago

GitHub - mutativejs/mutative-yjs: A library for building Yjs collaborative web applications with Mutative

Mutative-Yjs enables bidirectional sync between Yjs CRDT types and plain JavaScript objects, offering immutable draft-based updates, TypeScript safety, performant patching, subscriptions, and optional customization.
[ Load more ]