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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Vue 3 is now in RC

75 点作者 0xedb将近 5 年前

11 条评论

string将近 5 年前
I&#x27;ve been using Vue since late 2014 and I&#x27;m a huge fan of how it&#x27;s evolved. My day job is pretty much as a full time Vue consultant at this point, so I owe a lot to the project as a whole.<p>I think the Vue team are a really great example of how to maintain a widely adopted open source project whilst keeping almost the entire user base happy. Steady improvements with a focus on backwards compatibility, easy migration between versions and a lot of consulting with the community. The new composition API had a little backlash when it was proposed, but it seemed like the benefits were well communicated and the community came round. Personally I love all the changes in version 3 so far.<p>I&#x27;m hoping the new composition API will make adopting Vue an even easier choice for larger projects, I think the benefits are obvious. I admit I do have a slightly vested interest in increased adoption though.<p>Congrats to the Vue team on getting this to RC stage!
评论 #23876959 未加载
georgecalm将近 5 年前
&gt; Where should I start in a migration?<p>&gt; Start by running the migration helper on a current project. We’ve carefully minified and compressed a senior Vue dev into a simple command line interface. Whenever they recognize an obsolete feature, they’ll let you know, offer suggestions, and provide links to more info.<p>Vue&#x27;s docs are a masterclass in docs-writing, imho. Clear. Concise. Empathetic. Written for humans.
doteka将近 5 年前
Although this may be controversial, the composition API feels very derivative of React hooks. I liked having Vue around as an alternative to React, and the declarative and predictable structure of components felt like the main selling point to me.<p>With this new API, my first impression is “just use React at this point”. I’m having serious trouble understanding why they’d make this change. Of course I may be biased working in React day to day, but... bleh, Vue used to be unique.
评论 #23877657 未加载
评论 #23876673 未加载
russellbeattie将近 5 年前
My main problem with Vue 3 was succinctly summarized in the RFC:<p>&quot;More Flexibility Requires More Discipline<p>Many users have pointed out that while the Composition API provides more flexibility in code organization, it also requires more discipline from the developer to &quot;do it right&quot;. Some worry that the API will lead to spaghetti code in inexperienced hands. In other words, while the Composition API raises the upper bound of code quality, it also lowers the lower bound. We agree with that to a certain extent.&quot;<p>Vue 3 has committed several cardinal sins of software projects:<p>1) Splitting the API, allowing several different ways of doing the same thing. Call it &quot;basic&quot; and &quot;advanced&quot;. Every developer thinks they&#x27;re smart enough to use the advanced method, and egocentric devs will shame others to do it that way because it&#x27;s &quot;better&quot; (this is already happening). This is a community killer.<p>2) Most <i>orgs</i> don&#x27;t have the discipline required to keep code from turning into a mess if a library or API will let them. Time constraints, miscommunications, refactoring gone wrong, and general ignorance or outright stupidity always rears their ugly heads. If Vue 3 was a gun, it&#x27;d be a shotgun fired at your foot in an enclosed space.<p>3) Fad chasing. Emulating React hooks was a premature decision. Hooks are a hack (and it <i>is</i> a hack, without any question) to help some of React&#x27;s more painful points. It&#x27;s not a general solution. Trying to emulate that function-first way of doing things (fighting against JavaScript to do it) isn&#x27;t something Vue needed to do, and just makes Vue seem like a React-clone instead of a project in its own right.
hak8or将近 5 年前
If you can point to one specific thing you are most interested in, or happy to check out, from vue 3, what would it be? And what&#x27;s the closest another framework (or vanilla js) has to said feature?
评论 #23876498 未加载
评论 #23876456 未加载
mholt将近 5 年前
So, I haven&#x27;t done front-end work since jQuery was the thing back in ~2007-2011, but I have a new web project coming up. I already know I need to learn all the fancy new JS syntax. I also don&#x27;t have&#x2F;use npm (<a href="https:&#x2F;&#x2F;medium.com&#x2F;@mattholt&#x2F;its-2019-and-i-still-make-websites-with-my-bare-hands-73d4eec6b7" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@mattholt&#x2F;its-2019-and-i-still-make-websi...</a>).<p>Should I learn Vue?<p>(Edit: Thanks for the reply -- to clarify, I&#x27;ll be working on a web app.)
评论 #23876858 未加载
评论 #23877925 未加载
blackrock将近 5 年前
At what point does Vue start to break down?<p>Either because of logistical limitations, or programming limitations, or throughput limitations, or user load limitations, or even if the program you want to build is beyond what Vue was designed for.<p>Say, if I want to build a large website like a Salesforce web application, or a warehouse fulfillment and inventory management system, or something of this nature. Where it has a lot of web pages, and different processes to handle different calculations, and what not. And it ties into some back end database of course.<p>Can Vue handle such a level of complexity? Or is Vue better suited to handling smaller sized apps, with smaller quantities of users?
评论 #23878638 未加载
enraged_camel将近 5 年前
What kind of performance benefit can we look forward to if we keep a Vue 2.5 codebase as-is when we upgrade?
haolez将近 5 年前
Is nuxt.js planning to upgrade to Vue 3 soon?
panabee将近 5 年前
Anyone care to share thoughts on Vue 3 vs. React (especially given how GPT-3 seems capable of producing code with React)?
评论 #23876178 未加载
评论 #23876649 未加载
评论 #23876488 未加载
blackrock将近 5 年前
What are some pros and cons between Vue and React?<p>Do you folks use Vue with npm?