TLDR Dev · LAUNCHES & TOOLS

TRAVELS

github.comGitHub repository

Summary from the TLDR Dev newsletter

Travels is a fast, framework-agnostic undo/redo library that uses JSON patches to store only the differences between states. It is more memory-efficient than traditional snapshot-based systems. Travels uses Mutative for fast immutable updates and integrates with popular frameworks like React, Vue, and Zustand. It has a mutable mode for reactive states, an archive mode for controlling when changes are saved, and a maxHistory option to limit memory usage.