Sascha Lehmann

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.

View-Transition-API: Gamechanger for hybrid app-development
#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.

job ad

Saby Company
Delebio, Italy

Intermediate

d

Saby Company
Delebio, Italy

Junior

Featured Partners

Related Articles

View all articles
DC
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 ...
The State of HTML 2024: What can we learn from it?
LM
Luis Minvielle
The Best Upcoming IT Webinars
Now 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...
The Best Upcoming IT Webinars
LM
Luis Minvielle
10 Developer Websites in 2023
As 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...
10 Developer Websites in 2023

From learning to earning

Jobs that call for the skills explored in this talk.

Full Stack-Entwickler

Full Stack-Entwickler

Naviga
Ahrensfelde, Germany

Remote
GIT
Vue.js
Microsoft SQL Server
Software Architecture