TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SPA view transitions land in Chrome 111

173 点作者 mikehall314大约 2 年前

21 条评论

samwillis大约 2 年前
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 未加载
collaborative大约 2 年前
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 未加载
muppetman大约 2 年前
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 未加载
mgraczyk大约 2 年前
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_nz大约 2 年前
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....
xlii大约 2 年前
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 未加载
c7DJTLrn大约 2 年前
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 未加载
solarkraft大约 2 年前
Awesome, another Chrome-only API. They sure are embracing and extending the web!
hexo大约 2 年前
Pure vomit. Only good transition is no transition. Stop this wasteful abomination now.
lopkeny12ko大约 2 年前
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 未加载
matsemann大约 2 年前
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 未加载
r34大约 2 年前
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?;)
sgt大约 2 年前
Looks great but I see it chows CPU. I wonder if it&#x27;s doing software rendering instead of GPU?
评论 #35093661 未加载
pornel大约 2 年前
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.
zaynetro大约 2 年前
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 未加载
exabrial大约 2 年前
I just don’t want SPAs anymore.
Veuxdo大约 2 年前
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)
wslh大约 2 年前
I feel that the UI is faster, is it only my impression?
评论 #35094962 未加载
elecush大约 2 年前
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
victorbjorklund大约 2 年前
Finally!
agumonkey大约 2 年前
I find the transition trend interesting, smooth &#x2F; continuous morphing between complex structures is important IMO. Also trendy in biology.