~/talk

Scalable Front End Architecture with the Composition API and Composable Functions

Talkat Vue.js Nation 2023 · 2023-01-25..01-26· [frontend-architecture, vue]
slides:none on file

Argues that Vue 3 Composition API plus composable functions replace Options API for scalable front ends, showing concrete refactors from setup to reusable useCounter composable, using Pinia for global state and StackBlitz/VS Code in-browser for demos. Builds a small movie playlist app that calls the Open Movie Database API (requires an API key) and shares an addMovieToList function across sibling components; the demo fetches data and the add-to-list functionality works. Also notes OS poll results: Mac 46 Windows 22 Linux 30.

AI-written summary · about

  1. 0:00Introduction
  2. 14:29Demo App
  3. 15:11Open Movie Database
  4. 19:44Questions
  5. 20:40Composition API and Composable Functions
  6. 22:35When to use composable over component
  7. 23:49Wills take on the future of API
  8. 24:26Can you use composable for one component
  9. 24:55Limitations for mobile devices
  10. 25:51Composition API
  11. 26:56Why is the script under the template
  12. 27:42Composable reactivity
  13. 28:54QA
  14. 29:29Conclusion
~/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.