~/talk

What's new in Vue 3 Routing

Talkat HolyJS Piter 2020 · 2020-06-22..06-26· [vue]
slides:none on file

Vue Router 4 introduces true dynamic routing with functions to add, remove, list and check routes and addRoute returns a remover function; a new matcher ranks routes to avoid order bugs; history becomes pluggable so web, hash or custom native histories work; encoding is tightened across browsers; navigation now reports typed navigation failures instead of throwing noisy promise errors; scroll behavior and composition API hooks (useRoute/useRouter/useLink) land; bundle drops from router size 9kb to 7kb, beta is near.

AI-written summary · about

  1. 0:00Intro
  2. 1:14About Eduardo
  3. 3:40Whats in between
  4. 5:53Dynamic routing
  5. 8:02Matcher
  6. 10:35Scoring
  7. 12:42History
  8. 14:42History API
  9. 17:58Hash History
  10. 19:19URL Structure
  11. 23:16Encoding rules
  12. 30:32Links
  13. 33:37Merged RFC
  14. 34:21Navigation failures
  15. 38:33Scroll behavior
  16. 40:26Composition functions
  17. 42:41Disconnecting view from URL
  18. 43:30Routing view prop
  19. 45:51Router size
  20. 47:26Questions
  21. 49:56Lean version
  22. 54:01Testing
  23. 55:56Release plans
  24. 59:11QA time
~/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.