Hands-On: Lazy Graphics Pipeline
A hack session on conflict-tolerant, local-first collaboration. You start from a pipeline that silently drops one edit on a conflict, and make it detect, visualise and resolve conflicts instead.
Starter
The exercise. A working pipeline that silently drops one
edit on a conflict. Your job: detect, visualise, and
resolve. See EXERCISE.md inside.
Solution
The complete reference implementation — peek if you get stuck, or compare once you're done.
Download solution.zipQuick start
- Unzip and open a terminal in the folder.
-
Run the commands below, then open
http://localhost:5173. - Click “Open 2nd window”, take one of them offline, wire the same input differently in each, then go back online to create a conflict.
npm install
npm run dev