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.

A curated list of things related to Vue.js

141 pointsby humilityover 7 years ago

6 comments

roblablaover 7 years ago
I recently tried out vue.js on a projet as a replacement to d3&#x27;s selection&#x2F;data-binding magic. I have to say, I&#x27;ve been impressed.<p>1. The API surface is fairly small, especially compared to Angular. I could grok how it worked very fast.<p>2. The fact that it works without build tools is a godsend. My project is fairly small, and having as fast an iteration cycle is really nice.<p>3. The debug tools are <i>awesome</i>. EDIT: <a href="https:&#x2F;&#x2F;github.com&#x2F;vuejs&#x2F;vue-devtools" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vuejs&#x2F;vue-devtools</a><p>However, I do have a BIG problem: the fact that mutating the data automatically does a rerender is a nice idea, but in practice it falls apart very quickly and leads to fairly hard-to-debug bugs. For instance, if I add a new field to an object, it will not be detected as a change by Vue and not cause a rerender[0]. In my case, it broke the magic and caused me to look into how the heck did vue actually work - only to find out I had to call this.$forceUpdate() in a few places. It&#x27;s terrible.<p>React, despite its problems, is nice because of exactly this : its data binding is entirely non-magical. You have to go through setState <i>or</i> force an update. The mental model is dead simple. I wish I could like vue more...<p>[0] It is somewhat documented here: <a href="https:&#x2F;&#x2F;vuejs.org&#x2F;v2&#x2F;guide&#x2F;instance.html#Data-and-Methods" rel="nofollow">https:&#x2F;&#x2F;vuejs.org&#x2F;v2&#x2F;guide&#x2F;instance.html#Data-and-Methods</a> among other places
评论 #15155944 未加载
评论 #15155967 未加载
评论 #15155929 未加载
throw2016over 7 years ago
Vue is relatively simple and the Vue docs themselves are comprehensive and excellent.<p>There is a culture of complexity and some people thrive and perpetuate this complexity for not always technical reasons.<p>Vue completely avoids and sidesteps this and its best to start with the original site and docs or you might find yourself sucked once more into this gratuitous complexity.
octaveguinover 7 years ago
I&#x27;ve been using Vue for about a year now. It&#x27;s been my lib of choice for rapid front end development. Quasar Framework with it is especially a productive combination.<p>In comparison to react, it&#x27;s always been more intuitive.<p>That said, I recently started working with a developer new to vue coming from react. Explaining how nested data updates doesn&#x27;t really work made me realize how janky it is.<p>I hope there&#x27;s some kind of solution. Especially when you start using vuex, the data update inconsistency becomes a major issue.
评论 #15202493 未加载
hoodoofover 7 years ago
Can someone explain the appeal of Vue over React?
评论 #15155280 未加载
评论 #15155222 未加载
评论 #15155248 未加载
评论 #15155118 未加载
评论 #15155371 未加载
评论 #15160038 未加载
评论 #15155146 未加载
评论 #15202513 未加载
评论 #15155123 未加载
mmerlinover 7 years ago
They could mention Weex<p><a href="https:&#x2F;&#x2F;weex.incubator.apache.org" rel="nofollow">https:&#x2F;&#x2F;weex.incubator.apache.org</a>
评论 #15155477 未加载
simonlcover 7 years ago
Is there an equivalent of this for React and Angular?
评论 #15156431 未加载
评论 #15155155 未加载