Тёмный

Multi-page application View Transitions are here 

Chrome for Developers
Подписаться 759 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@ChromeDevs
@ChromeDevs 3 месяца назад
Check out all the web sessions at Google I/O → goo.gle/io24-web-yt
@ciberman
@ciberman 3 месяца назад
This means the comeback of MPA!!
@bramus
@bramus 3 месяца назад
Were they ever gone? ;)
@x-dr6uh
@x-dr6uh 3 месяца назад
Are view transitions interruptible? Excited for gesture driven transitions
@bramus
@bramus 3 месяца назад
Right now, when a View Transition gets interrupted it skips to the end. Regargetable View Transitions is something we are still thinking about.
@rogerpence
@rogerpence 2 месяца назад
Wow. What a great video. Thank you.
@MachineYearning
@MachineYearning 3 месяца назад
Game. Changing. 😢😢😢
@aarontgove101
@aarontgove101 3 месяца назад
Nice work Bramus! 👏👏👏
@karlgustav9960
@karlgustav9960 3 месяца назад
Cross document view transitions? IE6 “Hold my beer…” funny how back then everybody hated it 😂
@mrbjjackson
@mrbjjackson 3 месяца назад
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 3 месяца назад
The API which has shipped in Chrome was standardized at CSSWG with feedback from Apple/Mozilla. Definitely will not be changing. :)
@bramus
@bramus 3 месяца назад
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 3 месяца назад
​@@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 3 месяца назад
@@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 :)
@obetomuniz
@obetomuniz 3 месяца назад
Was fixed to use View Transitions? Trying View Transitions with an embedded RU-vid video playing was not smooth, it refreshed the whole on the target screen.
@KhushalSagar
@KhushalSagar 3 месяца назад
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 3 месяца назад
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 .
@mohammednasser2159
@mohammednasser2159 3 месяца назад
Astro Mentioned
@ilirbeqiri253
@ilirbeqiri253 2 месяца назад
Please update the Angular logo ;)
@saadmehmood1535
@saadmehmood1535 3 месяца назад
Others: Multi-page application view transitions are really cool Me: How this dinosaur going to make this jump ... ?
@svivian
@svivian 3 месяца назад
Have the performance issues been fixed? Only a few weeks ago they were still really sluggish.
@bramus
@bramus 3 месяца назад
What issues specifically are you running into? Got a repro to share?
@drewb9162
@drewb9162 3 месяца назад
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 3 месяца назад
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?
@saqqara6361
@saqqara6361 3 месяца назад
flutter support for this?
@laudijksterhuis
@laudijksterhuis 3 месяца назад
How is flutter relevant for this function?
@forno_nicolas
@forno_nicolas 3 месяца назад
Flutter don't need this. Cause flutter web app routing is a single client side Virtual Rendered canvas. I guess its just a SPA that has some shallow routing
@obetomuniz
@obetomuniz 3 месяца назад
@@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 3 месяца назад
Sorry, but those hands transitions are overpowering the content.
Далее
Are SPAs better than MPAs? | HTTP 203
25:42
Просмотров 42 тыс.
From fast loading to instant loading
34:08
Просмотров 40 тыс.
OG Buda - Сабака (A.D.H.D)
02:19
Просмотров 134 тыс.
Bringing page transitions to the web
12:57
Просмотров 230 тыс.
How was this not in the browser before???
16:30
Просмотров 103 тыс.
Navigating the JavaScript framework ecosystem
42:30
Просмотров 57 тыс.
HTMX and the View Transitions API
20:21
Просмотров 14 тыс.
Naming things just got easier thanks to @scope
26:22
Просмотров 47 тыс.