Case study ·

2024

Fathom Notes

A note editor that works offline and merges edits from three devices without asking. Typing latency stays under one frame.

Role

Text editor

Client

Fathom

Stack

ProseMirror · React · CRDT sync

Result

Input latency 42 ms → 9 ms

Fathom Notes editor: a note synced from three devices with two live cursors and typing latency of 8 ms

01 — The problem

Edits lost between devices.

Fathom’s notes app lost edits whenever two devices were offline at the same time, and typing felt sticky on long documents.

Desktop · 1440 px

A Fathom note with the history panel showing edits from a MacBook, an iPhone and an iPad merging without conflicts

01 —

Every edit finds its place

History of an offline merge

History of an offline merge

02 — What I built

Three devices, no conflict dialog.

A ProseMirror editor with CRDT sync, so edits from three devices merge without a conflict dialog. Rendering was split by paragraph, so only the paragraph you type in re-renders.

Phone · 390 px

Three Fathom phone screens: typing offline in a tunnel, merging three edits on reconnect, and the merged sentence

02 —

Out of the tunnel

Offline, reconnect, merged

Offline, reconnect, merged

Chart · 400 paragraphs

Chart of key press to paint time against note length: 64 ms when the whole note redraws, 7.6 ms when only one paragraph does

03 —

Long notes stay fast

Key press to paint, 5 year old phone

Key press to paint, 5 year old phone

03 — What changed

Typing feels instant again.

Input latency on a 40-page document fell from 42 ms to 9 ms. Merge conflict reports went to zero after launch.

9 ms

input latency on a 40-page document, from 42 ms

0

merge conflict reports after launch

Create a free website with Framer, the website builder loved by startups, designers and agencies.