~/talk

Data Fetching Unleashed: Next.js, React Query and their BFF

Talkat React and Chill 2024 · on Thursday, 2024-08-22· [react, frontend-architecture]
slides:none on file

Builds a dashboard for the top 5,000 users by issuing five parallel requests to an API limited to 1,000 users per call, then shows how a Next.js API BFF proxy aggregates, trims and maps server data so the client receives only the needed fields. Adds React Query (TanStack) for caching, retries and hydration, demonstrating a real case where the original responses were 2.3 MB payload with 73% unused data and a proxy plus caching yields a demo 99.9% payload reduction and faster renders.

AI-written summary · about

  1. 0:00Data fetching challenges
  2. 3:16Performance in user experience
  3. 7:14Birthday chart scenario
  4. 13:42Backend for Frontend pattern
  5. 17:34React Query state management
  6. 20:44Next.js server-side prefetching
  7. 25:00Summary
~/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.