Live data from Hacker News

Vue 2.0 is here

medium.com

61–70 of 73 posts

Re: Vue 2.0 is here

#61
Does vue use vdom diffing? Last time I played with vue, it crawled when having a large number of bindings. Also it's magical data binding doesn't work very well for arrays of arrays.

Re: Vue 2.0 is here

#62
post #61

Does vue use vdom diffing? Last time I played with vue, it crawled when having a large number of bindings. Also it's magical data binding doesn't work very well for arrays of arrays.

I does use a virtual DOM for actual DOM rendering boost (I actually doubt that it's necessarily for most of the cases), you can find some details here https://vuejs.org/guide/comparison.html and using google.

This is a brier reactivity explanations https://vuejs.org/guide/reactivity.html So there is no magic, nor the digest cycles (no dirty checking), just and old fashion get/set (plus some useful stuff for the predefined object properties) and it's fine.

Re: Vue 2.0 is here

#63
post #61

Does vue use vdom diffing? Last time I played with vue, it crawled when having a large number of bindings. Also it's magical data binding doesn't work very well for arrays of arrays.

Vue 2.0 released last week and it moved to using vdom for rendering.

Re: Vue 2.0 is here

#64
post #60

Earlier quoted context omitted.

I've been writing vue apps for internal use for about 1 year now at my company. I have not used Angular, but coming from Ember and React, It is by far the most productive framework I use. It is small and unopionated so I don't spend the massive amount of time I do fighting ember. I also don't have to constantly refactor it like the react code base (which has been through flux, redux, and now a new version of redux ag…

Would you recommend learning Vue over Ember for a front-end noobie? I've started with latter, but already see some things I don't like.

@iaml Have you followed this tutorial? http://www.yoember.com Totally free. It is quite easy to follow and you actually build a very complex application.

Re: Vue 2.0 is here

#65

Can anyone talk about their experience with Vue as opposed to Angular, Angular 2, and React/Redux? I am fan of Angular 1, but Angular 2 seems to actually just be an inferior version of React/Redux. At first glance Vue seems to be similar in spirit to Angular 1. Is that correct? Any first-hand experiences would be welcome.

I use VueJs for a side project after trying Ember and not liking how opinionated I found it to be, after considering Angular as I had used A1 but all the mess around A2 kept me far away, and considering React/Redux but wanting something that handled everything (routing/data/templating) and was a little more solid. That brought me to VueJs and it felt like a breath of fresh air. When it came time to decide on a framew…

If you would like to write complex, big application, or you would like to join projects, where more developer are working on the same application, than there is no better option than an opinionated framework. Faster onboarding, you can implement complex features very quickly. Ember.js is the best in this league. It is true, if your plan is not so serious, other frameworks are good options as well.

Re: Vue 2.0 is here

#66

Vue deserves quite a bit of attention. It's the simplest framework I've found to use in the same style as react (databinding, modules, etc) while still allowing you to use the html/css you've probably already written. This really shines when you want to do something not quite single page appy in your, for instance, bootstrap based site. E.g. a complex web form with some interactivity (autocomplete, add/remove rows, o…

It looks, corporate world and serious projects already bet on more opinionated, more standardized option, so they bet on Ember.js. Luckily Ember.js is improving nicely, super fast, easy to use, easy to learn and a super smart community around it. CLI, data management, addon ecosystem are just a few feature, what makes it unique. Vue.js, React, Angular should learn from Ember, however they are 1-2 years behind Ember, so it takes a while to catch up.

Re: Vue 2.0 is here

#67
post #34

Vue deserves quite a bit of attention. It's the simplest framework I've found to use in the same style as react (databinding, modules, etc) while still allowing you to use the html/css you've probably already written. This really shines when you want to do something not quite single page appy in your, for instance, bootstrap based site. E.g. a complex web form with some interactivity (autocomplete, add/remove rows, o…

> databinding How is that in the same style of React? To me, Vue feels like a cleaner version of Angular and very little like React.

That specific feature reminds everyone of Angular, indeed, but more generally speaking, Vue is a small framework, focused on the UI (vue-view, get it? :)) and if you use it with Vuex, you can end up with a reactive app very similar to one written in React/Redux.

Re: Vue 2.0 is here

#68
post #64
post #60

Earlier quoted context omitted.

Would you recommend learning Vue over Ember for a front-end noobie? I've started with latter, but already see some things I don't like.

@iaml Have you followed this tutorial? http://www.yoember.com Totally free. It is quite easy to follow and you actually build a very complex application.

@szines Thanks for the tip, will definitely check it out! The problem I have with ember is probably caused by me being new to front-end field, and is not necessarily caused by ember itself, but the whole stack needed to develop for it. For example I prefer using MDL over Bootstrap and when I tried using it I discovered it wasn't quite straightforward, but hacky I would say, certainly not a simple "include this .css and this .js in your source code." I eventually switched over to Semantic UI for my pet project, it works quite well for now.

Re: Vue 2.0 is here

#69
post #24

Vue.js is by far the sanest framework available for JS, period. It has excellent docs, it is intuitive, well written and well maintained. The only real complain that I have about the framework itself is about components. IMO they are the wrong abstraction (they smell suspiciously like objects ) and with their custom .vue extensions, are a pain to work with in my text editor. With that said, after working on a fairly…

I have written a webpack plugin which generates `.vue` files automatically and you just keep writing `js`, `css` and `html`.

https://github.com/pksunkara/vue-builder-webpack-plugin

Re: Vue 2.0 is here

#70
post #60

Earlier quoted context omitted.

I've been writing vue apps for internal use for about 1 year now at my company. I have not used Angular, but coming from Ember and React, It is by far the most productive framework I use. It is small and unopionated so I don't spend the massive amount of time I do fighting ember. I also don't have to constantly refactor it like the react code base (which has been through flux, redux, and now a new version of redux ag…

Would you recommend learning Vue over Ember for a front-end noobie? I've started with latter, but already see some things I don't like.

Absolutely. I would get comfortable with a build tool like web pack and then try and build a quick and dirty vue.js app. I like that much of the complexity is opt-in and you can grow into parts of the framework / write your own as your apps needs evolves, something I particularly had trouble with when using Ember. (It's very much their way or the highway for everything, and several features we wanted to implement, the answer was simply "don't do that") Having shipped Ember apps to millions of users and being with it since 1.0, I'd say it's an excellent community, but not the tool I'd reach for again.
Post reply on HN