~/talk

5 Antipatterns that Made Our React/GraphQL App Slow (And How We Fixed Them)

Talkat DevWorld 2024 · 2024-02-29..03-01· [react, graphql]
links:none on file
slides:none on file

Lists five concrete antipatterns with concrete fixes: over-fetching — remove unused fields to shrink payload by 31% size and cut latency by 22% time; fragment bloat from a centralized fragments.graphql that silently over-fetches; under-fetching that turns one request into 80 queries instead of using server-side filters/pagination; not using mutation return values and optimistic updates to avoid extra fetches; and wrong cache choice — React Query has no normalized cache, prefer Apollo or URQL.

AI-written summary · about

  1. 0:00React/GraphQL performance issues
  2. 1:18Over-fetching in GraphQL
  3. 4:49Fragments causing over-fetching
  4. 7:55Under-fetching and requests
  5. 11:45Mutation return values
  6. 14:54Optimistic updates
  7. 17:20Caching library choice
  8. 20:52Summary and fixes
~/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.