~/talk

Optimistic UX

Talkat SmashingConf New York 2022 · 2022-10-10..10-13· [ux-and-product-design]
slides:none on file

Argues that optimistic mutations boost perceived performance by updating UI immediately, then reconciling with the server; demonstrates a Remix demo using useTransition/useFetcher and a Next.js demo using TanStack Query (React Query) with onMutate snapshot, cache update, rollback on error and retries, plus a statechart example using XState. Shows a flaky server simulation that fails twice then succeeds and the rollback/retry logic working. Warns against optimism for critical flows (logins, bank transfers).

AI-written summary · about

  1. 0:00Introduction to Optimistic UX
  2. 2:01Defining design UI UX usability
  3. 8:46Traditional vs single-page apps
  4. 13:10What are optimistic mutations
  5. 14:49State machine for error handling
  6. 20:17Optimistic UX in Remix
  7. 29:12Optimistic UX in Next.js
  8. 35:12Live demo with Next.js
  9. 38:17Summary and takeaways
  10. 48:46Q&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.