~/talk

React & GraphQL - Bringing Simplicity and Correctness to Client Side Development

Talkat React Boston 2018 · on Saturday, 2018-09-29· [react, graphql, typescript]
slides:none on file

A working GitHub user search and profile page demonstrates React components co‑locating GraphQL queries and fragments, using Apollo Client to hit GitHub v4 GraphQL with queries that are composed from component fragments, mutations that toggle stars and update the normalized cache, and autogenerated TypeScript types that catch bugs. The composed page request is about 8 kilobytes over the wire versus dozens to hundreds of kilobytes and impossible queries with the REST API, and the demo UI and cache updates work end to end.

AI-written summary · about

  1. 0:00Start
  2. 0:37Chris Toomey
  3. 2:13You Get What You Ask For
  4. 3:50Get Related Resources in a Single Query
  5. 4:53Schema & Type System
  6. 8:46How Does GraphQL Fit with React?
~/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.