Skip to content

loro-dev/loro-time-travel-demo

Repository files navigation

Loro Time Travel Demo

This demo is intended to demonstrate Loro's high performance and time travel capabilities. The entire code is only about 100 lines.

20231114-191358.mp4

Time travel a document with 360,000+ operations using Loro. To load the whole history and playback, it only takes 8.4MB in memory. And the entire history only takes 361KB in storage. The editing trace is from josephg/editing-traces .

Usage

pnpm install
pnpm run dev