~/talk

Introduction into the Composition API

Talkat Vue.js Amsterdam 2020 · 2020-02-20..02-21· [vue]
slides:none on file

Claims that the Composition API makes large components readable by organizing code by feature and enabling reusable composition functions backed up with concrete code: reactive refs and reactive objects, computed and watch usage, and the setup function where setup executes before lifecycle. Example builds a capacity/attending list with an increment method and computed spacesLeft that works in the browser. Notes Vue 3 is optional, usable in Vue 2 via plugin, and the conference lists 2494 attendees.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Overview
  3. 1:26Why do we need an API
  4. 1:49Component Limitation 1
  5. 5:31Component Limitation 2
  6. 10:35When to use Composition API
  7. 12:00Disclaimer
  8. 12:19Basic Code
  9. 19:47Reactive Code
  10. 22:16TwoRefs
  11. 23:08Reusable Components
~/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.