~/talk

GraphQL + Apollo + Vue js = Magic

Talkat Vue.js Amsterdam 2019 · 2019-02-14..02-15· [graphql]
slides:none on file

Shows how to wire GraphQL into Vue using Vue Apollo and Apollo Boost, with the exact npm/yarn install commands and the import/creation of an Apollo provider and default client. Demonstrates GQL template queries, variableized searches, mutations and the onUpdate cache handler that uses cache.readQuery/writeQuery to append results so the UI updates immediately. Shows using the Apollo cache as local state, links to awesometalks.party data and a working CodeSandbox demo.

AI-written summary · about

  1. 0:00Intro
  2. 0:17I REALLY LOVE GRAPHQL
  3. 0:30GRAPHQL IS BAE
  4. 0:56MY NAME IS SARA
  5. 2:03I ADORE VUE
  6. 2:28I FEEL LIKE VUE IS LIKE THE HARRY POTTER OF JS LIBRARIES
  7. 3:52HOW?
  8. 6:06DONE
  9. 6:16LET'S QUERY SOME THINGS!
  10. 9:08QUERY COMPONENT
  11. 11:37VARIABLES ?
  12. 13:16MUTATIONS?
  13. 13:39MUTATION COMPONENT!!
  14. 15:55THE UPDATE FUNCTION
  15. 19:23DEMO WITH LOCAL STATE
~/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.