~/talk

Upgrade with confidence – dealing with issues while upgrading libraries

Talkat FrontEnd Con 2018 · 2018-12-04..12-05· [developer-experience]
links:none on file
slides:none on file

Project uses Angular + GraphQL with apollo-client v2 and upgrading breaks because v2 removes observable variables; documentation omits that. Fixes trialed: merge variable observables with combineLatest + switchMap and call watchQuery repeatedly (works but recreates queries), then create a persistent queryRef and call queryRef.setVariables to trigger results, and finally implement an Apollo Link middleware that intercepts operations, flattens observable vars into plain objects and forwards them. Result: solution works mostly but required wrapping variables in the operation context to avoid edge cases.

AI-written summary · about

  1. 0:00Intro
  2. 1:43What's the story
  3. 2:54Let's upgrade
  4. 4:05Long story short
  5. 5:46First solution
  6. 7:45The ultimate goal
~/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.