Multi-page application View Transitions are here

  Рет қаралды 16,350

Chrome for Developers

Chrome for Developers

Күн бұрын

Пікірлер: 30
@ChromeDevs
@ChromeDevs 7 ай бұрын
Check out all the web sessions at Google I/O → goo.gle/io24-web-yt
@ciberman
@ciberman 7 ай бұрын
This means the comeback of MPA!!
@bramus
@bramus 6 ай бұрын
Were they ever gone? ;)
@x-dr6uh
@x-dr6uh 7 ай бұрын
Are view transitions interruptible? Excited for gesture driven transitions
@bramus
@bramus 7 ай бұрын
Right now, when a View Transition gets interrupted it skips to the end. Regargetable View Transitions is something we are still thinking about.
@Slava-om1sz
@Slava-om1sz 2 ай бұрын
This is a blessing from tech heavens!
@rogerpence
@rogerpence 6 ай бұрын
Wow. What a great video. Thank you.
@aarontgove101
@aarontgove101 6 ай бұрын
Nice work Bramus! 👏👏👏
@MachineYearning
@MachineYearning 7 ай бұрын
Game. Changing. 😢😢😢
@mrbjjackson
@mrbjjackson 7 ай бұрын
Are these APIs web standards? I.e. if I build view transitions for Chrome will they work in Safari when they add the feature? I ask because I've already built a site using the tag view transition implementation and now it looks like this is going to be replaced by CSS directives. Ideally I don't want to have to change my code until this is all settled. Any idea when a consensus will be reached?
@KhushalSagar
@KhushalSagar 7 ай бұрын
The API which has shipped in Chrome was standardized at CSSWG with feedback from Apple/Mozilla. Definitely will not be changing. :)
@bramus
@bramus 7 ай бұрын
The thing with the meta tag you implemented back in the day was part of a prototype which was only available behind an experimental feature flag in Chrome. It lead up to what is now shipping in Chrome, which is part of the View Transitions Level 2 CSSWG web standard. To change your experimental implementation to the standardized one, swap out the meta tag by the at-rule to opt-in. All the rest stays the same. View Transitions are the perfect candidate for Progressive Enhancement: once other browser vendors also implement Cross-Document View Transitions, they too will start showing the transitions. Until then, users get the experience without View Transitions.
@mrbjjackson
@mrbjjackson 6 ай бұрын
​@@KhushalSagar Thanks for the reply. I don't know if you are an expert on View Transitions but in case you are - please can you explain something to me: if the view-transition is now triggered by a CSS rule, does this mean that now, all the linked CSS files are preloaded before the new page is displayed, rather than streamed in? I suppose I should expect this because if they aren't loaded, the transition won't know where to transition elements to... Can you clarify please? Or point me in the direction of somewhere this is explained. Thanks :)
@mrbjjackson
@mrbjjackson 6 ай бұрын
@@bramus Thanks for the reply. I wondered if you could please can you please clarify something to me: if the view-transition is now triggered by a CSS rule, does this mean that now, all the linked CSS files are preloaded before the new page is displayed, rather than streamed in? I suppose I should expect this because if they aren't loaded, the transition won't know where to transition elements to... Can you clarify please? Or point me in the direction of somewhere this is explained. Thanks :)
@aktxyz
@aktxyz 2 ай бұрын
any idea if this works in webviews for mobile apps? I had to actually enable via config in desktop chrome
@obetomuniz
@obetomuniz 7 ай бұрын
Was fixed to use View Transitions? Trying View Transitions with an embedded KZbin video playing was not smooth, it refreshed the whole on the target screen.
@KhushalSagar
@KhushalSagar 7 ай бұрын
Do you mind filing a crbug? It doesn't sound like you were trying to do a transition within the . More like using the as a named element.
@KhushalSagar
@KhushalSagar 6 ай бұрын
Just a quick update in case this was your issue, View Transitions now work as expected if there is a same-origin navigation in an .
@drewb9162
@drewb9162 6 ай бұрын
Does this work with different CSS files for each page? Ik the other version of this API didn't work with different CSS which was a deal breaker for me.
@KhushalSagar
@KhushalSagar 6 ай бұрын
Yes, you can have different CSS files on each page. I'm not sure what you mean by "the other version of this API didn't work with different CSS". Could you clarify?
@svivian
@svivian 7 ай бұрын
Have the performance issues been fixed? Only a few weeks ago they were still really sluggish.
@bramus
@bramus 7 ай бұрын
What issues specifically are you running into? Got a repro to share?
@mohammednasser2159
@mohammednasser2159 7 ай бұрын
Astro Mentioned
@ilirbeqiri253
@ilirbeqiri253 5 ай бұрын
Please update the Angular logo ;)
@karlgustav9960
@karlgustav9960 7 ай бұрын
Cross document view transitions? IE6 “Hold my beer…” funny how back then everybody hated it 😂
@saadmehmood1535
@saadmehmood1535 7 ай бұрын
Others: Multi-page application view transitions are really cool Me: How this dinosaur going to make this jump ... ?
@saqqara6361
@saqqara6361 7 ай бұрын
flutter support for this?
@laudijksterhuis
@laudijksterhuis 7 ай бұрын
How is flutter relevant for this function?
@obetomuniz
@obetomuniz 7 ай бұрын
@@forno_nicolas Actually, Flutter can benefits from this, since people can have MPAs that contains different canvas ctx on each. I have tried something like this, and it worked pretty well.
@AivoPaas
@AivoPaas 7 ай бұрын
Sorry, but those hands transitions are overpowering the content.
What's new in web animations
17:26
Chrome for Developers
Рет қаралды 39 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,8 МЛН
Bringing page transitions to the web
12:57
Chrome for Developers
Рет қаралды 232 М.
The latest in Web UI (Google I/O ‘24)
45:47
Chrome for Developers
Рет қаралды 181 М.
Modern CSS for sites: View transitions, scroll effects, and more!
51:38
Chrome for Developers
Рет қаралды 20 М.
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,2 МЛН
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 111 М.
WebAssembly and WebGPU enhancements for faster Web AI
37:09
Chrome for Developers
Рет қаралды 6 М.
Cross-Document View Transitions (MPA)
4:57
Ross Robino
Рет қаралды 190
SwiftUI Beginner Tutorial | AsyncImage Simplified
4:06
Blossom Build
Рет қаралды 76
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН