i had an absolute blast building this! hard to measure up to @joshwcomeau.com or @samwho.dev levels of quality but i'm pretty pleased with it 🏋️
if you're interested in getting your feet wet with local-first software or yjs, check it out! you'll definitely learn a lot (or at the very least have fun)
if you're interested in getting your feet wet with local-first software or yjs, check it out! you'll definitely learn a lot (or at the very least have fun)
Comments
Are the interactive elements using Yjs for real under the hood?
yup they're real! each "client" has its own yjs doc (+ one for the timeline in the middle). yjs dispatches an event whenever you make a change. so when that happens i set a timeout to simulate network latency, then grab the state from each doc & merge them together which updates the UIs