Reddo.js: a lightweight JavaScript library for undo/redo history management.
Key features include framework-agnostic support for React, Vue, Svelte, and Vanilla JS.
It weighs under 1KB gzipped. Command coalescing groups rapid changes like typing or slider movements into single undo operations.
The library is TypeScript-first with zero dependencies.
It uses the command pattern to keep action logic separate from history tracking.
π Blog Post
π GitHub Repo
π Live Demo
Top comments (0)