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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Vue 3.5 released

105 点作者 timetraveller268 个月前

8 条评论

wruza8 个月前
Vue 2 was the closest thing that I’d really like to use: just my data with methods + declarative ui with bindings.<p>Call me old-fashioned, I still prever model-view relationships separated. Can’t see what’s wrong with having a non-visual model that works on its own and then putting views on top of it to make it accessible to a user. Not only that, I don’t get <i>why</i> I would write model logic in a way that would nail it to a views system.<p>Js objects have observable properties and (with some care) they can even be shared across different subsystems&#x2F;libraries.<p>What I’d like to see is a UI library that takes my “instanceof Foo” with its value properties, getter properties and methods and observes it. Then I write vue-like html or hyperscript with an assumed root object:<p><pre><code> import {num_fmt} from “…” import {my_counter} from “…” const view = ( &lt;button onclick={this.reset()}&gt; Reset count: {num_fmt(this.count)} &lt;&#x2F;button&gt; ) ui.mount(some_el, view, my_counter) </code></pre> The my_counter remains free to use elsewhere or to be included into a larger structure. The goal is that ui will notice “.count =” anywhere and schedule an update to dom.<p>Js is absolutely full of features which all these frameworks are trying to reimplement for some reason. There are rough edges that Vue addressed (array obs mostly) and I thought that wow that’s its purpose with some helpers around it. Nice, the next step is to deprecate Options in favor of just js. But it went completely downhill since with sfc and composition and all.
评论 #41443191 未加载
评论 #41444989 未加载
评论 #41444864 未加载
bushwald8 个月前
Vue is great. I loved the old Options API and was resistant to the new setup&#x2F;composables way of doing things. But as soon as I tried the new way I loved it. I think it will scale much better as well.
throwup2388 个月前
<i>&gt; Tengen Toppa Gurren Lagann</i><p>I take it back. Buster, bullseye, bookworm, gibbon, fawn, eft, fossa, jellyfish, and numbat are amazing release names. What is this!?
评论 #41442324 未加载
评论 #41442109 未加载
评论 #41442118 未加载
评论 #41442047 未加载
评论 #41442505 未加载
评论 #41442815 未加载
rokkamokka8 个月前
I miss the old options API being the primary API :(
评论 #41442486 未加载
评论 #41442453 未加载
评论 #41444429 未加载
评论 #41442421 未加载
评论 #41442834 未加载
评论 #41442390 未加载
michelb8 个月前
Not trying to start a framework war, but how do Vue and React compare nowadays? I don&#x27;t use either, but am interested in learning.
评论 #41442872 未加载
评论 #41442778 未加载
评论 #41442861 未加载
评论 #41442752 未加载
评论 #41442592 未加载
评论 #41442569 未加载
评论 #41442630 未加载
评论 #41446254 未加载
dzonga8 个月前
thanks Evan + team, one thing I enjoy about Vue is the main API never really changes under you. compared to other frameworks.
bricss8 个月前
Vue + Pinia is the pinnacle of frontend frameworks engineering by far, so far.
Alifatisk8 个月前
When will Vapor mode arrive?