~/talk

Extending Reactivity to the Server with Convex with Tom Ballinger (Pt 2)

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [react]
slides:none on file

Step-by-step build of a Convex-backed real-time chat: server-side emoji replacement runs in a Convex query, messages reject over 50 characters with a Convex error propagated to client for friendly UI, client validates too; messages fade by computing opacity from creationTime (fade-out ~10s), server schedules deletes via context.runAfter (demo uses 2–5s timers), likes modeled as a separate table with an internal mutation to insert likes, and mutations retry on conflicts with ~1s execution guidance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Emoji on server
  3. 2:08Message character limit
  4. 3:33Server errors client-side
  5. 16:07Fading old messages
  6. 22:12Scheduling message deletion
  7. 25:51Implementing likes
  8. 34:32Remaining tutorial tasks
  9. 35:17Q&A type safety pitfalls
  10. 40:14Convex mutations behind scenes
  11. 43:26Closing remarks
~/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.