~/talk

Making It All Fit Together with React and GraphQL

Talkat JSConf.Asia 2019 · 2019-06-14..06-16· [react, graphql, developer-experience]
slides:none on file

Stripe uses React + GraphQL + Apollo and shows concrete pieces: a global schema file checked into the mono repo, automatic Flow type generation, a wrapper that yields ready-to-use React components from queries, and schema-based data mocking with overrides for mocks to exercise edge cases and error/loading states. CI runs a backwards-compat checker that forces deprecate-then-delete changes, and monitoring reports per-field usage so removal is safe. These tools speed testing, reduce regressions, and make rollouts safer.

AI-written summary · about

  1. 0:00Intro
  2. 1:32STRIPE'S WEB STACK
  3. 1:44GraphQL: Define a schema instead of a list of endpoints
  4. 2:54PRODUCT DEVELOPMENT
  5. 3:43Why does GraphQL have such a big impact?
  6. 4:30Why mocking?
  7. 6:16EXAMPLE: DEFAULT MOCKS
  8. 6:44EXAMPLE: OVERRIDING FIELDS
  9. 7:06MOCK FOR LOADING/ERROR STATES
  10. 7:36Collaborating on an API
  11. 8:10Schema guard rails
  12. 8:47GENERATING FLOW TYPES
  13. 10:19How do we make breaking changes?
  14. 11:19Great community tools and docs
  15. 11:59AUTOMATICALLY GENERATE STATIC TYPES
~/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.