~/talk

Supercharge Web UX with View Transitions!

Talkat React Brussels 2024 · on Friday, 2024-10-18· [web-platform, web-animation]
slides:none on file

One line of JavaScript — document.startViewTransition — plus CSS view transition names actually replaces jarring page changes with pixel‑snapshots that cross‑fade or morph elements, proven by a demo where a card grows into a detail view and an embedded video keeps playing. The API exposes promises, CSS pseudos and view-transition-name, works in Chrome 111+ and Safari 18 with cross‑document support in Chrome 126, offers pageSwap/pageReveal hooks for just‑in‑time naming, and integrates with frameworks (Astro, Remix, React via flushSync, plus an npm hook).

AI-written summary · about

  1. 0:00Introduction
  2. 1:44What are view transitions
  3. 3:53How view transitions work
  4. 7:43View transition pseudo tree
  5. 10:08Customizing animations
  6. 11:57Morphing elements
  7. 12:18Multiple element transitions
  8. 16:07Step-by-step implementation
  9. 18:54More demos
  10. 20:19Promises and cleanup
  11. 21:00Framework integration
  12. 22:45Documentation
  13. 23:06Cross-document transitions
  14. 25:56How cross-document works
  15. 27:38Customizing cross-document
  16. 30:29Render blocking
  17. 31:30Summary and Q&A
~/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.