8 ms·
Vue in 2016
- based2 10y agoWhere is gone the Ordonnée legend?
- BozeWolf 10y agoWill vue be the new hotness in javascript land? Will it replace react as the next best thing? Kind of funny the author devotes a paragraph to this question too. But still wondering! I know both frameworks differ, but I see/read that more and more developers start with vue whereas those kind of posts half a year ago would have been with react instead. I sort of liked react, as far as I find doing javascript enjoyable. The whole thing making it complicated at first is that flux/redux thing.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- arcticfox 10y agoI think "complicated at first" is an understatement when it comes to flux/redux - I've been using it for a year and it's still a pain, even though I love what it can do.
- fractalf 10y agoFantasic work Evan You! Vue is exactly what I've missed in the js world. I cant explain it well, but I never could stand Angular or React. Look forward to using Vue alot in 2017
- themoat 10y agoSomething about Vue resonates with me. I won't bash any other frameworks, but for my purposes, Vue scratches the frontend itch.
- Ralfp 10y ago> I won't bash any other frameworks Doing mostly React myself, Vue has reminded me of times when I was doing PHP and the Rails was "next big thing", and you couldn't have discussion about technology on "neutral ground" without it being raided by aggressive RoR fanboy or few to explain to you how you are doing it all wrong without giving any arguments, but with a lot of snark.
- shados 10y agoDownvoted because of the way its presented, but quite a few techs lately become popular mostly because of overly aggressive PR than actual technical merits (even though those things ARE good, don't get me wrong). Not criticizing the quality of those tools when I say the following, but techs like Vue, TypeScript, MobX (for a while, I didn't see it happen lately), etc seem to have gained popularity mostly because you could not say anything without them being mentioned. Then people who are unfamiliar with the field get the impression those things are super mainstream and go try it. Sure, they need to be good to stick, but... And in some cases of TS, that was happening long before it was good (back when the type system sucked, ES6 support was abysmal, etc). Then it got a huge following, and then it got good. That type of behavior make communities pretty toxic. Of course, we're all only humans, and marketing is often more important than quality.
- hhhhggfdd 10y agoThe really interesting thing to me here is the funding model -- he's making $10k/month on Patreon right now (which is great!!). Most of that comes from 11 $500/month sponsorships. That's much more than I've seen from most other people raising money on Patreon
- mars4rp 10y agoHe is beating well funded teams of Facebook and Google alone! $500 is a very small price to pay if you are company and using Vue in production.
- dvnguyen 10y agoI may be naive here. I hope Github/Gitlab would implement a similar feature to their platform with a option to pay the developer. I don't mind donate $500 a month to a good OSS because a good developer costs at least 20 times that amount, but it would be nice if the expense is accountable.
- j1436go 10y agoAnother very happy customer. After doing React and Angular 2 for a while I'm very happy with Vue. And it would be really nice to see Weex reach production maturity someday (regarding docs as well). Thanks, Evan!
- tribby 10y agoagreed! it would seem ready for production given the alibaba association but docs and official support for vue (weex is based on but not actually vue) seem like the blockers for other orgs to adopt it. evan has stated in some HN thread (can't seem to find it now) that an "official vue" version of weex is coming very soon, though.
- SparkyMcUnicorn 10y agoIn the article it states that that stage is complete already.
- senko 10y agoI was recently looking at Vue and was blown away by the quality of the official docs. They're both very comprehensive and readable. Quite apart from many other projects that have a hello world / tutorial and autogenerated API docs and think that's enough.
- manyxcxi 10y agoThe docs are what got me to give it a try and I use it now for any page that has complex/reactive interactions. Java (even with Thymeleaf templates), PHP, Node, and just straight HTML. Because of the many different ways you can integrate it into your project you don't have to start out with the intention of making the entire front end with Vue, and you don't have to build a huge SPA. You can simply integrate it view by view if you want, which was magical when I was slowly updating the front end of a crusty old WebApp built a long time ago.
- sehr 10y agoHoly shit they're even responsive and don't look like someone stuck in the 00's designed them. Honestly kind of blown away right now
- tribby 10y agoevan you is a designer, and it shows in everything from the docs to the API to the implementation of the transition system in vue. his consideration of what others would call little things is why this project won me over.
- jazoom 10y agoI'm curious why a designer has a special way of making an API?
- abalashov 10y agoI just stumbled onto Vue after disenchantment with the morbid obesity and tooling diarrhoea of Angular 2--itself a research project born of an increasing sense that Angular 1, bureaucratic enough in its own right, is being aggressively deprecated by these sociopaths. That's something that unfortunately has implications for all of us, including those who would just as well keep using Angular 1.x contentedly. Vue is amazing! Everything that's good about Angular 1 but without the embellished boilerplate. One is free to use Vue in any way one wishes, from script tag include to complex Webpack get-ups. It has a surprisingly large ecosystem of third party UI components, including a great, no-nonsense state router. But fundamentally, one is free to architect one's app as one wishes without having to spend two years learning a bunch of meta-boilerplate and build-tools-for-build-tools just to get going. And it lets one write plain old ES6, a luxury in this age of TypeScript fascism by psychopathic ex-JBoss villains. I love it! This is the perfect MVWW compromise I've been after, as a non web developer by trade! Thank you, Evan! Amazing work, and great documentation! Thank you, thank you! I just became a $50/mo Patreon supporter. If I ever get wealthier, I'll increase it. And I haven't even used Vue for any production work yet. But that's how much I love it! I haven't loved something this way in probably a decade and a half. Almost every hipster.js novelty that comes across HN, big and small, makes me groan. This is the first thing of its kind about which I haven't felt that way. This is going to be a highly successful venture. I know it. Godspeed!
- dexwiz 10y agoI don't disagree with your opinion, but calling them sociopaths, psychopaths, and villains is a bit strong.
- untog 10y agoAgreed. It's always very sad to see people who are utterly unwilling to imagine another person's perspective. A project like Angular might have made decisions you disagree with, but that doesn't mean the author is a sociopath. It just means you disagree with their perspective, which is not a fault of either person.
- 10y ago
- threatofrain 10y agoSomewhat of a tangent, but does anyone have any experiences to share for functional JSX + Vue 2?
- mercer 10y agoYeah, I'd love to use Vue, but I'm not a fan of the Angular-style 'templating'. If I could easily use JSX, that'd be awesome!
- carc1n0gen 10y agoI don't know what you mean by "angular style templates". Vue most commonly used single file components, and I've never seen those in angular
- mercer 10y agoSorry, I meant stuff like <v-if="condition">.
- agentgt 10y agoI would not be surprised if Vue becomes long term one of the major winning js libraries that is the goto library just like jQuery did. I remember when jQuery came out and there were all sorts of existing make-js-dom-ajax-easy libraries already out with major entities backing them: Dojo toolkit (a ton of companies), Prototypejs (Rails), GWT (Google), YUI (Yahoo) and many more.... but jQuery backed by a single guy won.
- ergo14 10y agoActually web components that are backed by all...browsers won ;-) HN doesn't see it yet though.
- akmittal 10y agoWebcomponents are not even close to winning (but I want to see that happen). As far as I know React is winning and vueJS is going strong. I have not seen much projects using web components.
- ergo14 10y agoThey are implemented inside browsers - so they won - they are a standard. Do not confuse this with js framework popularity. They may or may not use components internally.
- ergo14 10y agoThey are implemented inside browsers by all vendors - so they won - they are a W3C standard as of now. Do not confuse this with js framework popularity. They may or may not use components internally.
- jazoom 10y agoI think Vue plans to adopt web components when they are viable.
- akmittal 10y ago
- tomschlick 10y agoLaracasts has a great (and free!) video series on getting started with Vue 2.0 if anyone is interested: https://laracasts.com/series/learn-vue-2-step-by-step https://laracasts.com/series/learn-vue-2-step-by-step
- shawkinaw 10y agoI'm intrigued by Vue. I am also traumatized by the almost complete lack to continuity from Angular 1 → 2. Does anyone know if API stability is a value of Vue's? I don't want to learn something if it will all be different in 6 months.
- andrei_says_ 10y agoThere were breaking changes between v.1 and v.2. That being said, API stability is definitely a priority.
- camus2 10y ago> There were breaking changes between v.1 and v.2. That being said, API stability is definitely a priority. "Breaking changes" is a euphemism. These are 2 completely different frameworks that only share a name, nothing more. Both versions share 0 API.
- gnud 10y agoI think GP was talking about Vue, and you were talking about Angular? The shift in Vue from 1->2 isn't that massive.
- andrei_says_ 10y agoSpeaking about Vue. There's definitely shared API. The breaking changes were very well documented and there was a tool which would analyze a project and recommend upgrade path.
- tribby 10y agothe 1->2 transition was handled with grace -- very helpful warning messages and even a migration tool. all breaking changes seemed necessary and it wasn't hard to pick up at all. only real pain point is googling an error message to find a discussion about a different version than the one you're using etc.
- joshmn 10y agoWhether or not Evan sees this, I hope he knows I'm thankful for him and his work. Vue is the only front-end framework I will ever consider (up to this point). For the most part, I think front-end frameworks are overused. Like, Uber's freight page — why the hell are they using React? My gut tells me some internal tooling bootstrapped setup, but something else tells me "because it's cool, and it's not cool not to use it." The appeal just isn't there to me. Developers (and c-level execs) seem to care about how hot their stack is, rather than how practical their stack is. I guess my liberty comes from being self-employed, and being able to make my own decisions. I don't want another thing to have to learn/document/support/break in my pipeline. I just want everything to work as fast as I need it to work, when I need it to work. I've managed just fine (as have many, many others) with just dropping in Turbolinks if I need "fast". HOWEVER, I will say that when the business requirements mentioned "get it close to real time" and "lots of moving parts on this [controller/page]", I ditched my janky-ass jQuery hackjob and went to Vue. And I'm really, really glad I did it.
- seanwilson 10y agoHow much type safety do you get using Vue with TypeScript compared to Angular 2 or React? For example, if you use a variable with the wrong name or wrong type in a template, can you set Vue up to give you a compile time error?
- alevans4 10y agoThere is no way to get typing in the template currently that I am aware of. There are various libraries that help with Typescript integration like https://github.com/itsFrank/vue-typescript https://github.com/itsFrank/vue-typescript, but you cannot currently write Typescript as the language in a single page component (again that I am aware of). I'm definitely hoping this is coming this year.
- nmerouze 10y agoYou can use JSX instead of string templates. This way you can get type safety.
- seanwilson 10y agoDo you know of any examples of this?
- nmerouze 10y agoJSX is in the docs: https://vuejs.org/v2/guide/render-function.html#JSX https://vuejs.org/v2/guide/render-function.html#JSX I don't have any concrete example of Vue.js + JSX + TypeScript but I know it's a bit tricky, see this thread: https://forum.vuejs.org/t/vue-2-0-and-tsx/308/8 https://forum.vuejs.org/t/vue-2-0-and-tsx/308/8
- Kiro 10y agoVue is nice until you realize that you're supposed to use something like vuex. The simplicity is then lost and I feel I may just as well use React+Redux.
- fractalf 10y agoUhm.. Your reasoning doesnt make sense. You dont have to use vuex, and if you do, its not really that hard. And for sure React+Redux wont make your life more simple if thats what you are after
- tmat 10y agoReact isn't a framework.. not sure what you're bitching about.
- paulddraper 10y agoIf you need to write in a new language to use it (JSX)...it's either a framework or something much more than a framework...
- deleted 10y ago[deleted]
- dang 10y agoNasty swipes like this will get your account banned on HN, so please edit them out of your comments here. We detached this subthread from https://news.ycombinator.com/item?id=13273641 https://news.ycombinator.com/item?id=13273641 and marked it off-topic.
- owebmaster 10y ago> vuejs.org page views: 21,424,759 With an ad strategy, he would make a good money, at least double his current earning. I'd think about it.
- mimsee 10y agoThe website has ads via Carbon Ads. I like how Carbon Ads are not as intrusive as other ad firms. No animation or autoplay video with sound.
- vassy 10y agoIs anyone using Vue with Rails? Is it easy to set up?
- jaequery 10y agoYea it works on anything, almost like loading a jquery library
- stevebmark 10y agoAs far as I can tell, Vue doesn't actually do much differently than the hundreds of Javascript view libraries that have come before it, like Backbone views. It seems just to be gaining popularity as a "react"-ionary pendulum swing from React boilerplate. I don't have anything against Vue but I don't see specific benefits over other similar libraries.