Live data from Hacker News

Vue 2.0 is here

medium.com

51–60 of 73 posts

Re: Vue 2.0 is here

#51

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…

You can use react for parts of your html the same way you can use vue. React doesn't force you to make your whole page in react.

Re: Vue 2.0 is here

#52

Does this "new" hyped framework needs entire libraries and basic components to be ported too? Every 12 months or so I check how the front-end mess is going and last time I tried a few React components and they all needed some compatibility layer with Bootstrap. Or they wouldn't integrate nice with popular stuff I used before, in the jQuery spaghetti times (that's when my front-end knowledged peaked). Do we just throw…

>Does this "new" hyped framework needs entire libraries and basic components to be ported too?

Nope. It's just web technologies without reinventing anything you don't want to, which is why Vue's motto is "The progressive JavaScript framework", it's got nothing to do with politics :)

If you want componentization of some library you're gonna have to download the bindings, but if not, it's just HTML and you can roll just like you would without any framework. To make an example, I like using Material Design Lite for some cookie-cutter interfaces, and with Vue I simply used it in my templates like I always do. Then I found out about vue-mdl and it helps me cut down on the amount of HTML attributes and such making the thing more readable, so I npm installed it and started replacing things when I touched them and felt like it. But both ways of doing things live together and every bit of it was optional.

Re: Vue 2.0 is here

#53
post #35
post #29

Earlier quoted context omitted.

vue core, vue-router and vuex 2.0 all have typings shipped directly in the NPM packages.

That's really nice, but I didn't find any examples of TS + Vue in all three repos though. Guess I'll play around with it in the weekend.

Vue's "default" way of doing things is plain JavaScript or Babel if you're using the vue-cli templates.

However, with Vue 2 TS typings ship with the packages according to the final comment in this: https://github.com/vuejs/vue/issues/478 so I'd assume TS is officially supported.

Re: Vue 2.0 is here

#54
post #14

For someone wanting to learn modern javascript, it's so hard to know where to start. So many different frameworks to pick from. There doesn't seem to be much point asking for suggestions either, as everyone has a different opinion on what's best.

You should start with React, honestly. Learning React is a bit about learning the framework but in order to be a good react dev, you mainly need to know how to write some good JS. React views are not templates, they are just javascript function calls (JSX is just some sugar on top of some JS function calls). After that you can basically try anything, but at least you will know pretty much everything about what modern…

I second it. If you are starting out, React is the way to go. Of all the frameworks I have tried, React is the one that seems most "sane" to me. Either React or Elm.

Re: Vue 2.0 is here

#55
Vue.js is magic. As I've said before, it's so simple it feels like cheating.

But take a look at the docs and the replies on Github issues for the other distinguishing feature - the give-a-sh*t-factor from Evan and the crew shines bright. Just about everything is understandable, purposeful and clear.

Re: Vue 2.0 is here

#56
I love this framework. I came to it as a back end developer that needed to do some front end work and started off with Angular and then React. I couldn't believe how complicated these two frameworks seemed to be as someone who's done very little JavaScript coding. I then tried Vue and it was so simple, so logical and so productive.

What I love about it is that you can mostly intuit what to do to get something to work. It just feels very natural.

And the documentation is top notch.

I haven't ported to Vue 2.0 yet but I suspect the only issues I'll have will be with third party components built with Vue 1.0

Re: Vue 2.0 is here

#58

Always good to see frameworks not built by big companies thrive.

Absolutely. This is what I love about Aurelia (a more fully-fledged SPA framework), it isn't run by a massive company, has a great community and the core team regularly listens to the community and participates in discussion. I think we are seeing a rise of new anti-behemoth frameworks that are able to move faster.

Re: Vue 2.0 is here

#59
post #14

For someone wanting to learn modern javascript, it's so hard to know where to start. So many different frameworks to pick from. There doesn't seem to be much point asking for suggestions either, as everyone has a different opinion on what's best.

That seems to be a big problem in the JS world (I am a mainly back end dev).

Re: Vue 2.0 is here

#60

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'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.
Post reply on HN