~/talk

Routing and new features

Talkat Vuejs Amsterdam 2023 · 2023-02-09..02-10· [typescript, frontend-architecture]
slides:none on file

A build‑time plugin called Unplugin Vue Router generates a DTS file and replaces imports so routes come from the filesystem and the router stays manually instantiated; Vite/Rollup/Webpack are supported. TypeScript typing of route names and params prevents runtime typos (author admits complex conditional types crashed TS during stress tests, so a keyed interface approach is used instead). There are also typed file‑based routing helpers like DefineRoute and an experimental DefineLoader data‑loading system with client‑side caching. It reduces boilerplate and catches broken links at CI time.

AI-written summary · about

  1. 0:00Start
  2. 3:58EDITORS LEARNING CURVE
  3. 7:58WEIRD EVER-CHANGING APIS
  4. 8:52WHERE DIFFERENT PARTS OF THE APP COME TOGETHER
  5. 9:08VOCABULARY
  6. 9:28ERROR PRONE
  7. 11:35FILE BASED ROUTING
  8. 12:24TOOLS GENERATE THE GLUE CODE
  9. 13:06TYPED ROUTES
  10. 14:15RUNTIME TYPED ROUTE PARAMS
  11. 15:07RUNTIME TYPES CAN GET REALLY SLOW
  12. 16:32BACK TO THE BASICS
  13. 17:00AUTOMATED
  14. 17:12UNPLUGIN-VUE-ROUTER
  15. 17:51STILL IN CONTROL
  16. 20:05CONFIGURE ROUTES WITHIN ROUTES
  17. 21:42DATA LOADING WITH SUSPENSE
  18. 22:30+DATA LOADERS +
~/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.