~/talk

All you need is a contract

Talkat React Alicante 2023 · 2023-09-28..09-30· [testing, developer-experience]
slides:none on file

Claims that using TanStack Query plus Mock Service Worker removes three concrete problems: unmaintainable server‑state code, flaky network tests, and blocked frontend work during sprints. The team deletes manual mocks and Axios mock adapter, writes request handlers (request/response resolvers), and calls setupServer/setupWorker to start interception. Tests stop flaking, no separate mock server is needed, frontend and backend work in parallel, and the sprint finishes earlier with higher confidence and less maintenance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Developers hate code
  3. 3:16Unmaintainable code monster
  4. 5:04React Query harmony
  5. 6:05Unmaintainable tests Hydra
  6. 7:31Server state struggle
  7. 10:00Mock Service Worker fundamentals
  8. 16:21Mock Service Worker fixes tests
  9. 17:47Why not mock server
  10. 20:15Mock Service Worker solves delays
  11. 24:09Live demo Mock Service Worker
  12. 27:44Key lessons
  13. 29:51All you need is a contract
~/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.