~/talk

Let's Build React Query in 150 Lines of Code!

Claims a miniature React Query rebuilt in 150 lines of code, actually implements a QueryClient, Query objects, a QueryObserver and a useQuery hook wired through context, shows deduping via promise, adds staleTime and cacheTime (default five minutes) with garbage collection, refetch-on-focus and simple devtools. Demo runs end to end and the code sits around ~140 lines, but code is naive, untyped and explicitly not production ready.

AI-written summary · about

  1. 0:00Start
  2. 0:26Tanya Linsley
  3. 0:55React Query
  4. 1:26React Query Essentials
  5. 2:05What Is React Query
  6. 5:09React Query Examples
  7. 13:09Query Client
  8. 15:17Query Observer
  9. 21:01Cache Time
  10. 21:56Schedule a Garbage Collection
  11. 24:11Dev Tools
~/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.