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.

Vue 3.0 Updates [slides]

292 pointsby mxstbrover 6 years ago

17 comments

superasnover 6 years ago
I think the best part about Vuejs is that how simple it is and everything just works!<p>A vue component is still as simple as {template: &#x27;hi&#x27;}. You don&#x27;t need webpack or any transliteration for it to work. Just drop the script tag like the good old jQuery and it&#x27;s working! No wonder it was so easy to switch to it.<p>Transition from vue1 to vue2 was really simple. I&#x27;m sure the same will be true for v3.
评论 #18474959 未加载
评论 #18475322 未加载
评论 #18487087 未加载
评论 #18477758 未加载
yuchiover 6 years ago
I&#x27;m very happy to see React and Vue influence each other. They definitely are the highest quality frameworks out there and having two different research teams only improves the overall quality of the ecosystem.<p>I&#x27;m a React fan, yet I really applaud all the nice stuff which is coming in Vue 3. Well done.
评论 #18474924 未加载
评论 #18475015 未加载
tinyvmover 6 years ago
3.0 is a huge milestone for vue.<p>Currently the architecture forces you to import the Vue object entirely , has Vue under the hood isn&#x27;t really modular...<p>With 3.0 Vue has taken the typescript way and is using packages , similar to angular , it looks absolutely awesome to work with now.<p>I really hope class based components will be supported natively without compiling or transpiling.<p>Working &quot;out of the box&quot; has always been part of Vue philosophy , I really hope this continue.<p>This is really a big release , but it&#x27;s still sad to see the 3.0-alpha branch is not visible on GitHub , i really would have loved to have a look at it.
评论 #18476613 未加载
TekMolover 6 years ago
My feeling is that most people who use Vue or React only need a template engine. Typical use case: You have an array of objects and a template how each object should look like.<p>So you do...<p><pre><code> &lt;div id=users&gt; &lt;a v-for=&quot;user in users&quot; :href=&quot;&#x27;user&#x2F;&#x27;+user.id&quot;&gt; {{ user.name }} &lt;&#x2F;a&gt; &lt;&#x2F;div&gt; &lt;script&gt; let userList = new Vue({ el : &#x27;#users&#x27;, data: { users: users } }) &lt;&#x2F;script&gt; </code></pre> ...to make Vue render the list of objects.<p>This is the only thing I ever use these frameworks for. Everything else I think I can implement in a better, leaner way myself. So I wonder if I should switch to a template engine instead.<p>What is the next most basic&#x2F;common usecase for Vue?
评论 #18475601 未加载
评论 #18475288 未加载
评论 #18475131 未加载
评论 #18475095 未加载
评论 #18476586 未加载
评论 #18476629 未加载
评论 #18477553 未加载
pier25over 6 years ago
Vue 3 is a massive new update:<p>- TypeScript<p>- Double the performance<p>- Half the size and memory consumption<p>- New reactive system that supports classes a la MobX<p>- Class based components<p>I&#x27;ve been using Vue for a couple of years and I&#x27;m very excited about this new release.
spectaclepieceover 6 years ago
It appears that there are similarities in Vue 3.0 with Aurelia, at least on the surface. Things like class based components, proxy-based observer mechanism* and the move towards typescript all remind me of Aurelia.<p>Been using Vue 2.0 for personal projects and Aurelia for a big work project over the past year and I have to say I am very happy with both. Personally I prefer the single file components in Vue but the class based style of writing them in Aurelia. Seeing these two things converge in Vue 3.0 together with the performance improvements looks very promising.<p>*Not sure that under the hood Vue 3.0 works the same way as Aurelia but the mentioned points in the slides lists array index &#x2F; length mutation and later the observable function are familiar from Aurelia.
bpicoloover 6 years ago
The Typescript support is by far the thing I&#x27;m most interested in. Lack of useful Typescript support is, for me, the only downside of Vue right now, and it&#x27;s a big enough downside for me to use React instead of Vue in a lot of cases.<p>Do you reckon we&#x27;ll ever see Typescript support in the non-jsx templates? I do really like vue templates for e.g. if-conditionals. I really don&#x27;t like using ternary operators for template logic. And then the alternative being to hoist things out of the single JSX template breaks make code less linear to read which kinda sucks
评论 #18475748 未加载
diminishover 6 years ago
Vue has a strong leader - and that is promising.
BtM909over 6 years ago
Does someone have the talk (if there&#x27;s one) which used this deck as well?
armaxtover 6 years ago
How about the ability to create multiple components in the same .vue file? for instance I need to define a sub-component that will be used only inside my component, this is easy in React but with Vue I have to create another file to define this sub-component, this makes the project management becomes harder as the project grows
评论 #18476572 未加载
评论 #18475991 未加载
评论 #18477723 未加载
pdkl95over 6 years ago
&gt; ... implementation re-written from the ground up<p>Rewriting a big project from scratch is often used as something to brag about: &quot;Look at all the hard work we accomplished!&quot;. Except in software what matters is correctness and efficiency, not the age or the code or the size fo the rewrite. Rewriting &quot;from the ground up&quot; is throwing away years of bugfixes[1].<p>Maybe this new version is fine; I&#x27;m only suggesting that big re-implementations should be seen as an unknown risks, and that &quot;carefully refactored problematic areas of the code&quot; is something worth bragging about on a slide.<p>[1] <a href="https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2000&#x2F;04&#x2F;06&#x2F;things-you-should-never-do-part-i&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2000&#x2F;04&#x2F;06&#x2F;things-you-should-...</a>
评论 #18475651 未加载
评论 #18475686 未加载
评论 #18475638 未加载
agumonkeyover 6 years ago
Happy to see this project move forward, but I get surprised when I read 100% speed improvement, since it was already super fast. I wonder how they manage.
Normal_gaussianover 6 years ago
Slide 20 &quot;flow -&gt; typescript&quot; is under making it more maintainable - does anyone have any thoughts on this?<p>I use flow because I am interested in soundness, have had a few issues with it, but nothing has suggested to me that typescript is more maintainable.
评论 #18475971 未加载
Zooperover 6 years ago
Code? I&#x27;ve been toying with a very specific type of proxy-based observable, and I&#x27;d like to compare notes.
评论 #18478443 未加载
crooked-vover 6 years ago
I&#x27;m happy to see another framework moving to Typescript.
评论 #18477791 未加载
baybal2over 6 years ago
Any news on native support for fragments?
welanesover 6 years ago
.
评论 #18475847 未加载
评论 #18475838 未加载
评论 #18477795 未加载