~/lightning

Using Subscriptions in Your Vue Apps

Lightningat VueConf US 2019 · on Wednesday, 2019-03-27· [graphql, vue]
slides:none on file

Live demo shows GraphQL subscriptions wired into a Vue app using Hasura auto-generated GraphQL API and apollo components, switching between <apollo-query> and apollo subscribeToMore to push new posts into the list, then removing polling to rely on subscriptions. Demo hits duplicate key issues when merging results, fixes via result merging, and includes a local repo plus a 13-video course release that documents the exact mutations, queries and subscription documents used.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39What is GraphQL
  3. 1:09How to use GraphQL Subscriptions with Vue
~/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.