~/talk

Exciting New Features for Routing in Vue3; Vue Router 4

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [javascript, vue, web-platform]
slides:none on file

A full rewrite of Vue Router surfaces concrete changes: the library becomes tree-shakeable imports and exposes history factories like createMemoryHistory for SSR and custom platforms; path-to-regex is removed and a scoring algorithm orders routes so you can addRoute/removeRoute/getRoutes reliably; router-view accepts a route prop enabling modal-in-history UX; navigation failures become explicit values (not uncaught promise noise); scroll behavior, URL encoding, composition API hooks (useRoute/useRouter/useLink) and devtools improve debugging; the bundle drops to under 7KB.

AI-written summary · about

  1. 0:00Start
  2. 3:52Routes
  3. 10:59Url Encoding
  4. 14:45Router Links
  5. 21:21Navigation Failure Time
  6. 24:43Navigation Guards
  7. 25:58Route Prop on Rotterview
  8. 28:29Composition Api
  9. 30:39Uselink
  10. 31:20Devtools
  11. 32:18Timeline
~/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.