Live data from Hacker News

Vue 2.0 is here

medium.com

31–40 of 73 posts

Re: Vue 2.0 is here

#33
post #27
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…

What's the alternative?

Have you seen Cx? (http://cx.codaxy.com)

It's a feature-rich framework based on React for building complex web apps.

Disclaimer: I'm the author.

Re: Vue 2.0 is here

#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.

Re: Vue 2.0 is here

#35
post #29
post #28

I hope it has first-class TypeScript support. Having worked in large TS codebase I can't imagine going back to a JS codebase of the same size. Angular has TS and React has Flow, but most of Vue projects seem to use neither. This is fine for small side-projects, but I'm wondering if anyone could share experience building large Vue apps without types.

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.

Re: Vue 2.0 is here

#36

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.

> At first glance Vue seems to be similar in spirit to Angular 1. Is that correct?

I don't understand why no-one wants to admit this so maybe I'm wrong but yes, I would say that's 100% true. Vue.js feels like a cleaner and slimmer version of Angular 1.

Re: Vue 2.0 is here

#37
On my job we just picked Vue for a new project, and it's a great experience so far. We disliked the standard starter project with Webpack and its idioms, with un-inspectionable compiled javascript source code, but it was very simple and flexible to create our custom build. It's really a awesome framework, with excelent docs (we were even using the release candidate of version 2.0).

(edit: typo)

Re: Vue 2.0 is here

#38
I came across Vue through Laravel and I think they are definitely the best frameworks for their own language (JS and PHP). And the best part is that with the latest versions (2.0 and 5.3) they are working really nice together. Almost as if they were part of the same ecosystem.

It's incredible how easy it has become to make a new web app that has everything you need (registration, authentication, api, JWT, notifications,...) with just one command line (laravel new project). It's a huge jumpstart that allows you to focus on what's really important and forget about all the annoying boilerplate.

And since Vue.js is so well integrated with Laravel, you get all the benefits of the back-end also on the front-end. With all the authentication and API with JWT (and much more) ready to go, it becomes also a great way for newcomers to learn using Vue and play around with it.

These are 2 great videos of Evan You (creator of Vue.js) from Laracon 2016 https://streamacon.com/video/laracon-us/evan-you-vuejs-works... https://streamacon.com/video/laracon-us/evan-you-vue-router-...

Re: Vue 2.0 is here

#39
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 JS has to offer!

I would recommend starting with create react app [1]. I think it can be used with other libs than react as well, the thing is just a strong webpack + eslint preconfiguration so you don't have to worry about it.

[1]: https://github.com/facebookincubator/create-react-app

Re: Vue 2.0 is here

#40
post #27
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…

What's the alternative?

1) Going back to server-side rendering + intercoolerjs (and a small bit of jquery) for simple stuff.

2) Elm | ClojureScript for complex apps.

Edit: To be clear, I've done large apps in Angular (which nearly made me regret choosing programming as a profession), React, Backbone and custom frameworks, and Vue.js wins by a large margin if you're stuck with JS.

Post reply on HN