News for hackers. Stuff that matters.

hansede

Re:Vue.js vs. React on Saturday August 19, 2017 @08:19PM (#15056333)
Eloquently put.
Re:Vue.js vs. React on Saturday August 19, 2017 @12:47PM (#15054310)
Vue allows you to use Pug syntax in your templates, so this can be even simpler:

  button(:disabled='isButtonDisabled') Button
  div(:id='`list-${id}`")
  form(@submit.prevent='onSubmit')
  a(@click='doSomething')
Re:Vue HN 2.0 on Sunday May 07, 2017 @04:21PM (#14287413)
This guide gives an excellent comparison of Vue to other frameworks: https://vuejs.org/v2/guide/comparison.html

I would add the following points from my experience with Vue:

Vue is incredibly easy to learn. The usual claim with React is "productive in under a week", while I find that with Vue, most JS engineers can be productive in a few hours. Especially for engineers coming from a background in Angular, Mustache, Handlebars, etc. the templating in Vue is very easy to understand.

The documentation for Vue is excellent, some of the best documentation I have ever worked with: https://vuejs.org/v2/guide/

It has the advantage that it's not beholden to the whims of a large company like React is with Facebook or like Angular is with Google, given that its development is funded by a Patreon campaign: https://www.patreon.com/evanyou

Additionally, Vue is not encumbered by the patent questions around React: https://news.ycombinator.com/item?id=11270213

I don't anticipate Vue crumbling under its own weight. Vue is developed by Evan You, who has already shown his ability to learn from Vue 1 and iterate on that with a lean and organized Vue 2. My main criticism of Vue would be that its ecosystem is not as strong as React's at this point, as you have pointed out.

Re:Vue HN 2.0 on Sunday May 07, 2017 @02:09PM (#14286647)
The purpose of this is not to demonstrate a new design for the site, the purpose is to demo a well written server side rendered + client side hydrated Vue app, and especially how fast it loads: https://twitter.com/youyuxi/status/860856697799098368
imho, try Vue