~/talk

State of Components

Talkat dotJS 2019 · 2019-12-05..12-06· [react, vue]
slides:none on file

Compares three concrete designs — React Hooks, Vue Composition API, and Svelte 3 — and argues components are shifting away from class instances toward stateful modules. Shows Hooks store state by call-order slots and forces manual dependency arrays (leading to stale-closure bugs), shows Composition API runs once with automatic dependency tracking and ref wrappers, and shows Svelte’s compiler injects change invalidation for very terse code but ties logic to component context. Lays out practical trade-offs and where extra runtime or tooling friction appears.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Defining Components
  3. 5:24UI Components
  4. 8:08React Looks
  5. 14:02Cross Module Composition
  6. 14:29Concurrent Mode
  7. 15:03Cons of Hooks
  8. 16:08How to use Hooks
  9. 16:34View Composition API
  10. 16:55Refactor Component
  11. 17:09Dependency Tracking
  12. 17:37Ref Concept
  13. 18:28Dependency Collection
  14. 18:43Stout
  15. 20:06Component Context
  16. 20:51Syntax
  17. 22:06Functional Programming
  18. 22:29Instable Stateful Modules
~/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.