~/talk

Asynchronous UX

slides:none on file

Concrete UX rules and code patterns emerge: use idempotency key in localStorage to make long actions safe to retry and avoid double payments, disable buttons and show a progress state while preventing double submits, prefer skeleton loaders vs indeterminate progress only when the skeleton can reliably mirror the UI, introduce a small delay before showing spinners to avoid flicker, cancel async work with a cooperative cancellation token or mounted flag to avoid setState after unmount, and treat optimistic updates as requiring rollback strategies or CRDTs for correctness.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Queries
  3. 4:13Progress Indicator
  4. 5:58Empty States
  5. 8:17Side Effects
  6. 14:40Field Validation
  7. 15:15Blocking Nonblocking Actions
  8. 15:41Double Submissions
  9. 16:11Network Issues
  10. 17:18Mounting
  11. 18:52Race Conditions
  12. 19:49Recap
  13. 20:11Outro
~/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.