TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SPA view transitions land in Chrome 111

173 pointsby mikehall314about 2 years ago

21 comments

samwillisabout 2 years ago
So to slightly clarify, this is transitions between two DOM states. It saves you having to keep something in the DOM during an animation. You make the change and DOM elements from before can still be visible during the animation.<p>They are also working on view transitions between documents, this isn&#x27;t that. So rather than having to build a SPA in order to animate between &quot;pages&quot; it will be possible to animate those tradition on a traditional server rendered MPA. Looking forward to that one!
评论 #35092327 未加载
评论 #35091931 未加载
评论 #35093210 未加载
collaborativeabout 2 years ago
After years of using transitions I concluded that there is nothing better than a static (non) transition. Heavy usage of apps&#x2F;sites with transitions leads to dizziness
评论 #35093257 未加载
评论 #35091826 未加载
评论 #35091976 未加载
评论 #35092296 未加载
评论 #35093374 未加载
评论 #35092204 未加载
评论 #35092602 未加载
评论 #35091783 未加载
评论 #35092124 未加载
评论 #35091769 未加载
评论 #35093618 未加载
评论 #35092139 未加载
评论 #35091781 未加载
muppetmanabout 2 years ago
I looked at this and thought &quot;What am I looking at? There&#x27;s some janky animation as things shift around but what&#x27;s the bit I&#x27;m missing??&quot; and then it slowly dawned on me clicking around a bit more that it must be the poxy animation bit itself.<p>I mean I guess web consumers are just SCREAMING OUT for this and I&#x27;ve been living under a rock?<p>Obviously I am old and grumpy but holy crap this is exciting browser development now. Seesh.
评论 #35094695 未加载
mgraczykabout 2 years ago
Looks great on my Android phone. On my Linux desktop with a 4k screen, it renders at ~2 fps and looks absolutely horrible. Hopefully this will be fixed!
pleb_nzabout 2 years ago
As someone who disabled transitions wherever noticable on all my operating systems and who avoids IE, sorry I mean chrome or any chromium derivatives, this isnt for me.<p>However, for users it will affect, can it be disabled.<p>Does this mean more code must be added to code to cater for browsers that do not implement this API can still the this feature?<p>How many chrome only APIs already exist and how often do they break sites on spending browsers. Genuine question as I use Firefox, but have never noticed a broken site so I wonder if these fail gracefully or maybe chrome only APIs are rarely used it I don&#x27;t visit those types of sites....
xliiabout 2 years ago
There’s something in the video that makes me feel uneasy.<p>Hope that other browsers won’t follow the suit cause I’ll have to get myself comfortable with “use reduced motion” switch.
评论 #35093324 未加载
c7DJTLrnabout 2 years ago
I would find it more exciting if they started removing stuff from browsers, like legacy APIs and features with a very high attack surface.
评论 #35091670 未加载
评论 #35091734 未加载
评论 #35091657 未加载
solarkraftabout 2 years ago
Awesome, another Chrome-only API. They sure are embracing and extending the web!
hexoabout 2 years ago
Pure vomit. Only good transition is no transition. Stop this wasteful abomination now.
lopkeny12koabout 2 years ago
Transitions and animations on the web are already abused by web developers enough today. The last thing we want is a browser API that automatically applies transitions to <i>the entire DOM</i>.<p>Prepare for endless frustration as designers start implementing artificial 5 second delays while you wait for a pretty transition between two states of a page.
评论 #35092171 未加载
评论 #35092089 未加载
评论 #35092009 未加载
评论 #35093287 未加载
评论 #35092002 未加载
评论 #35092159 未加载
评论 #35091987 未加载
matsemannabout 2 years ago
I remember this was built in in some browsers back in the days, as transitions between whole pages. Basically the same transitions as in simple presentations (fade, push in from side, reveal as a circle, etc)<p>&lt;meta http-equiv=&quot;Page-Exit&quot; content=&quot;revealTrans(Duration=1,Transition=3)&quot;&gt;<p>Edit, found a video: <a href="https:&#x2F;&#x2F;vimeo.com&#x2F;111317293" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;111317293</a>
评论 #35092418 未加载
评论 #35096179 未加载
r34about 2 years ago
I think it&#x27;s a good time to introduce a new button to the browser interface, as the gap between the original &quot;take me back to the previous document&quot; and some new concepts like the one presented here is getting bigger and bigger. But maybe I&#x27;m just old?;)
sgtabout 2 years ago
Looks great but I see it chows CPU. I wonder if it&#x27;s doing software rendering instead of GPU?
评论 #35093661 未加载
pornelabout 2 years ago
The really exciting part is the next step — providing this for regular navigation across pages. This way you can have the fancy look of single-page JS apps without the heft and complexity of actual single-page JS apps.
zaynetroabout 2 years ago
Is there a video or some animations where I could see this feature in action?<p>(Don&#x27;t have access to Chrome atm)
评论 #35091773 未加载
评论 #35092223 未加载
exabrialabout 2 years ago
I just don’t want SPAs anymore.
Veuxdoabout 2 years ago
Very reminiscent of what Ilograph is doing for system diagrams: <a href="https:&#x2F;&#x2F;app.ilograph.com&#x2F;demo.ilograph.Ilograph&#x2F;Request" rel="nofollow">https:&#x2F;&#x2F;app.ilograph.com&#x2F;demo.ilograph.Ilograph&#x2F;Request</a><p>(FD: I am working on this)
wslhabout 2 years ago
I feel that the UI is faster, is it only my impression?
评论 #35094962 未加载
elecushabout 2 years ago
wow it&#x27;s almost like they could add a page-specific url bar and decided that was silly, let&#x27;s have it all point to the same domain
victorbjorklundabout 2 years ago
Finally!
agumonkeyabout 2 years ago
I find the transition trend interesting, smooth &#x2F; continuous morphing between complex structures is important IMO. Also trendy in biology.