~/talk

What is a Vue Component

Talkat Connect.Tech 2022 · 2022-11-07..11-09· [vue]
slides:none on file

Hands-on tour of Vue 3 components with concrete claims and tests: single-file components compile to render functions, reactivity uses ref and watchEffect, lifecycle hooks fire in child-before-parent order, and accessibility requires explicit labels (button aria-label "increase count"). Examples use Vue 3 Composition API and Cypress component tests (Cypress Testing Library, network intercepts). Behavior specifics: the counter emits "counted-to-five" at 5 and throws an error at 11, a parent fetches /people/1 and shows the result; tests stub the API or assert DOM changes.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:03What is a Vue component?
  3. 2:53Reusable chunk of frontend
  4. 5:24Simple paragraph component
  5. 7:11Component lifecycle basics
  6. 10:20Single file component compilation
  7. 11:03Counter component demo
  8. 13:53Accessibility and testing
  9. 17:24Counter with styles
  10. 20:18Reactivity system in Vue
  11. 20:39Paragraph with slots and props
  12. 26:45Component responsibilities
  13. 27:09Counter using paragraph
  14. 28:52Parent-child component lifecycle
  15. 30:37Counter emitting events
  16. 31:59Testing component events
  17. 37:03Fetch after counting to five
  18. 38:47Handling API responses
  19. 41:15Testing API-dependent components
  20. 49:23When to split components
  21. 50:46Component categories explained
  22. 53:12Design entities vs helpers
  23. 54:37Resources and Q&A
~/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.