~/talk

Understanding client side routing with Vue.js

Talkat JSCamp 2018 · on Thursday, 2018-07-19· [vue, frontend-architecture]

Builds a working Pokemon single‑page app that starts with three routes and then shows how those become scalable with dynamic route matching. Implements a custom client-side router using Vue.js components, a router-view/router-link pattern, window.history.pushState and the event bus pattern, plus popstate handling, navigation guards, nested routes and lazy loading. Demonstrates which files map paths to components, the exact lifecycle hooks used, and when 404 behavior appears.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Vuejs overview
  3. 1:16What is routing
  4. 2:44What is URL
  5. 5:08Single page applications
  6. 6:15Building the application
  7. 7:34What are view components
  8. 9:46Creating other components
  9. 10:24Building the router
  10. 11:47View Dynamic Components
  11. 14:27Router Link
  12. 18:14Event Bus
  13. 21:11PopState
  14. 31:22Navigation Guards
  15. 33:48Lazy Loading
~/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.