View-Transition-API: Gamechanger for hybrid app-development
Finally, web apps can have animations as fluid as native apps. The View Transition API bridges the gap with simple CSS, making complex transitions remarkably easy to implement.
#1about 2 minutes
Understanding hybrid, native, and web development models
The landscape of native, web, and hybrid development is defined to set the context for the View Transition API's impact.
#2about 3 minutes
The animation gap between web and native apps
Native apps have superior animation capabilities like container transforms, which are difficult to replicate on the web due to the rigid DOM structure.
#3about 3 minutes
Introducing the core mechanics of the View Transition API
The API simplifies animations by taking before-and-after screenshots of the DOM, performing changes in the background, and then cross-fading between the two states.
#4about 2 minutes
Comparing a user experience with and without view transitions
A side-by-side demonstration shows how view transitions transform a functional but plain app into a visually appealing and fluid user experience.
#5about 4 minutes
Understanding the DOM structure and pseudo-elements
The browser creates a temporary top-level DOM layer with special pseudo-elements for the old snapshot and new live view states, which can be targeted with CSS.
#6about 2 minutes
Implementing default cross-fades and custom animations
Enabling the default cross-fade transition is simple with a framework feature flag, and these default animations can be overridden with custom CSS.
#7about 5 minutes
Animating individual elements using the view-transition-name property
Assigning a unique view-transition-name to an element in both the start and end states allows the browser to automatically animate its size and position.
#8about 4 minutes
Exploring future features and creative use cases
The API is evolving with proposed features like scope transitions and multi-page transitions, and can be used creatively for list sorting, sliders, and accordions.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:54 MIN
Q&A on refactoring SPAs and page transitions
The Lean Web
03:38 MIN
Creating fluid animations with the View Transitions API
What's new in CSS for Designers?
06:46 MIN
Exploring new browser APIs in Interop 2025
New Browser APIs, End of React Create App, Smuggling Data in Emoji and more with Rowdy Rabouw
03:18 MIN
Relying on native browser features and the platform
The Lean Web
09:07 MIN
Expanding PWA capabilities with modern web APIs
PWAs in 2021
12:30 MIN
Understanding the web's evolution into an app platform
Native Web Apps: Are We There Yet?
12:29 MIN
Navigating JavaScript fatigue and framework evolution
WeAreDevelopers LIVE - Whats Nuxt and Next for app development, 20 years AJAX and more
Accessibility tip: Detecting reduced motion in one line of JavaScriptAnimation can be a great tool to make apps seem more performant, be more engaging or even just more interesting. There are, however, quite a few groups of people who can not deal with things animating, as it distracts them or can even cause nausea. T...
Daniel Cranney
The State of HTML 2024: What can we learn from it?The results of the State of HTML 2024 survey are in! Though the name suggests it’s HTML-only, the survey focuses on the web platform in a more general sense, giving us some fascinating insights into not only the state of the web, but also some sense ...
Luis Minvielle
The Best Upcoming IT WebinarsNow that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
Luis Minvielle
10 Developer Websites in 2023As a web developer, you're always investigating how to level up your skills and streamline your workflow. That's why we've gathered a collection of 10 innovative tools that are guaranteed to boost your productivity, enhance your coding abilities, ele...
From learning to earning
Jobs that call for the skills explored in this talk.