~/talk

Mastering the React Cache API

Talkat ReactNext 2026 · on Tuesday, 2026-06-23· [react, frontend-architecture]
slides:none on file

React cache API provides a request-scoped singleton that turns repeated database queries into one cached result — demo shows getHunterProfile called by three components triggering three DB queries but after adding cache it runs once and returns to all three. Uses a cache created outside components, requires primitive keys because of reference equality, stores thrown errors as cached responses, and is server-only. Examples include where to export the cache and common pitfalls.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53React Cache API overview
  3. 3:18Problem with data fetching
  4. 5:07Live demo with caching
  5. 7:36Common pitfalls and solutions
  6. 9:45Summary and call to action
~/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.