~/talk

Creating collaborative editing UIs in React

Talkat JS Fest 2019 Spring · on Thursday, 2019-04-04· [react, frontend-architecture]
slides:none on file

Covers concrete techniques and gotchas for building real‑time editors in React: tradeoffs between optimistic/pessimistic locking, use WebSockets or WebRTC for transport, one‑way global store (Redux‑style), send intent‑rich patches (use keys rather than raw indices), use diff-match-patch for text patches, consider CRDTs like Automerge, implement optimistic updates and latency masking, preserve cursors with getSnapshotBeforeUpdate, presence via simple roll‑call or navigator.sendBeacon, and testing strategies; includes lessons from a real Sanity implementation.

AI-written summary · about

  1. 0:00The evolution of collaboration
  2. 1:36The need for better tools
  3. 4:26Async vs real-time editing
  4. 6:08Conflict resolution strategies
  5. 8:25Data consistency challenges
  6. 10:41Building real-time systems
  7. 13:52Fine-grained patching
  8. 15:26Advanced conflict handling
  9. 17:17UX for collaborative tools
  10. 20:49React and state management
  11. 22:53UI challenges and undo
  12. 25:36Technical implementation
  13. 31:27Presence and cursor visibility
  14. 36:25Future of collaborative web
  15. 40:45Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.