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
We've finally achieved parity with Internet Explorer 5.5 😄 https://www.simplehtmlguide.com/pagetransitions.php
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."
This is super cool 😎
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
They're under a feature flag in Safari! :D Should soon be out. Fun stuff. Also mega cool the demo uses no JavaScript.
Just insane architecture 🚀 With which browser technologies you used to achieve this mechanism ?
impressive so we don't need to ship a ton of javascript anymore 💀
That looks fancy. Is this app using a free API?
Engineering Leader, Google Chrome. Best-selling Author. Speaker. I want to see you win.
3wBonus video: "MPA View Transitions are here!" by Bramus Van Damme is great https://www.youtube.com/watch?v=k_dkA5gZAHA