~/talk

GraphQL and me

Talkat NodeJS Italian Conference 2018 · on Friday, 2018-11-16· [graphql, react]
slides:none on file

Describes why GraphQL replaces brittle CMS responses for Vogue and GQ by moving business logic into a GraphQL layer, using Apollo and a client to collapse many REST calls into one query, cutting over‑fetching and coupling, producing instant schema documentation and type safety, and resolving data from multiple sources so the React app with server rendering and Redux only requests what it needs.

AI-written summary · about

  1. 0:00Start
  2. 4:30A lot of our components were tied very specifically to the API response.
  3. 9:21It is a business risk to couple your application to a third party service.
  4. 9:32The API was difficult to work with: it had some quirks that we didn't understand.
  5. 10:41We were fetching data in complicated ways from deep trees in the API every time.
  6. 13:40Instant documentation
  7. 15:03We no longer have to fetch data with multiple requests in our main application.
  8. 15:50It encouraged good patterns of structuring our app.
  9. 16:50Domain Driven Design Hexagonal Architecture
  10. 17:06We have the insurance that if we ever need to change our data source, most of our app will not be affected.
  11. 20:10You're building an application that uses multiple data sources.
  12. 22:04You want to enforce structure in your code base.
  13. 22:32You've built your REST API like a pseudo-GraphQL API anyway.
~/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.