Addy Osmani’s Post

View profile for Addy Osmani, graphic

Engineering Leader, Google Chrome. Best-selling Author. Speaker. I want to see you win.

View Transitions for multi-page apps (MPAs) are now supported in Chrome! View Transitions can now be used for multi-page apps! Starting Chrome 126, create fluid navigations between different same-origin documents regardless of your site’s architecture. With these new interaction possibilities, available to every developer, you can redefine what we think of as a web app. The initial implementation of View Transitions we shipped in Chrome 111 required you to build an SPA and use JavaScript in order to use view transitions. In Chrome 126 this is no longer the case and they are now enabled by for same-origin navigations. You can now create a view transition between two different documents that are same-origin. To do this, use the @view-transition at-rule and set the navigation descriptor to auto. @view-transition {   navigation: auto; } To customize cross-document view transitions further use the the pageswap and pagereveal events. Bramus Van Damme has an excellent talk and article that dives more deeply into this worth checking out: https://lnkd.in/gAKUSjGX Here are a few demos you can try out in Chrome Canary: https://lnkd.in/gRP-8iS5 (pictured by Fred K. Schott working in Astro with zero JavaScript! Read Astro's new blog post on this here: https://lnkd.in/gbtkSWwb) https://lnkd.in/gunEyrag  https://lnkd.in/g_H8jp7Q #softwareengineering #programming #javascript

Addy Osmani

Engineering Leader, Google Chrome. Best-selling Author. Speaker. I want to see you win.

3w

Bonus video: "MPA View Transitions are here!" by Bramus Van Damme is great https://www.youtube.com/watch?v=k_dkA5gZAHA

  • No alternative text description for this image
❄️ Michael McKenzie

Senior Staff Frontend Engineer

1mo

We've finally achieved parity with Internet Explorer 5.5 😄 https://www.simplehtmlguide.com/pagetransitions.php

Adam Leis

Disciple, husband, father, & philomath

1mo

Addy Osmani throw this on the list of things to practice enough to be 2nd nature. This gives me RWD vibes where it just needs to be part of standard practice for better experiences. Both are excellent, both have great power, both require discipline and "great responsibility."

Alexandre Zajac

SDE & AI @Amazon | Building Hungry Minds to 1M+ | Daily Posts on Software Engineering, System Design, and AI ⚡

1mo

This is super cool 😎

Ben Morss

Product Manager, Recent Google departee, Musician 🎶

1mo

This looks fantastic! It could also solve a page transition problem we have over here, at least for Chrome users

🤔How much does it cost to adopt this

Tiger Abrodi

Senior Fullstack Developer

1mo

They're under a feature flag in Safari! :D Should soon be out. Fun stuff. Also mega cool the demo uses no JavaScript.

Tal Mogendorff

★ Frontend Tech Lead | Vue enthusiast at Kubiya.AI ★

1mo

Just insane architecture 🚀 With which browser technologies you used to achieve this mechanism ?

Jonathan Atiene

Senior Software Engineer with Expertise in React, Node.js & AWS | Robotics Enthusiast

1mo

impressive so we don't need to ship a ton of javascript anymore 💀

Alejandro Lechuga

Senior Software Engineer at Docusign

1mo

That looks fancy. Is this app using a free API?

See more comments

To view or add a comment, sign in

Explore topics