You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user clicks an <a> (not a <div>) which causes the browser to start navigating
The MPA view transition happens. (Probably with no JavaScript involved??) Since we prerendered early, the transition will be smooth, instead of having a pause in the middle while we wait for content from the network.
Yes, To @domenic's request I looked at this demo as well. I don't entirely understand the purpose of starting a same-document transition (startViewTransition). I would expect using regular links and perhaps prerendering on hover, without startViewTransition.
In the current code, the sequence is:
location.href
to navigateI think in more realistic apps, the sequence is probably going to be something like:
<a>
(not a<div>
) which causes the browser to start navigatingThat's the approach I took in https://cool-massive-appendix.glitch.me/mpa-vt/ . I'd love to see a version of that which used your beautiful demo UI and transitions!
The text was updated successfully, but these errors were encountered: