4 ms·
As a React developer I have yet to hear a compelling reason to use Vue. Most of the time it seems like the Vue defender was just looking for the next hot thing
by ilovecaching 8y ago
As a React developer I have yet to hear a compelling reason to use Vue. Most of the time it seems like the Vue defender was just looking for the next hot thing and would have used literally anything else, didn’t understand that React is just a library and conflated it with the React ecosystem, or couldn’t wrap their head around FRP. From a business standpoint I can’t understand why you’d put anything on Vue unless their was a long list of extremely compelling reasons to not use the larger, battle tested React ecosystem.
- jaequery 8y ago2 things for me: 1) 2-way bindings. i used to hate the concept of it as it was a form of black magic and had hard to debug performance issues ala Angular. but in Vue, it is actually fast and straightforward, it's essentially a light boilerplate around getter/setter methods. it took me a while to convert to this way of thinking but once i did, i never looked back. 2) @click, @submit, @emit, :some_property. at first glance, those unconventional symbols/etc irked me and was turned off by it. but after 5 min reading their doc, it became really intuitive and extremely handy. its unlike Angular who have way too many things going on, with Vue its minimal.
- ilovecaching 8y agoYeah, I've heard this before. It really makes no sense why you'd want to use getters and setters when FPR is so exceedingly powerful and easy to reason about, which circles back to my point about people not understanding FPR and the benefits thereof.
- zachwood 8y agoWhat is FPR you keep referring to?
- ilovecaching 8y agofunctional reactive programming
- zachwood 8y agoSo you mean FRP?
- hactually 8y agowhat's FPR in this context?
- philliphaydon 8y ago#1 reason for me? The community. Hands down the community. Vue has such a better community than react or angular by a Long shot. If you ever end up needing help and jump into the discord channel. No matter how annoying you are the entire community is always patient polite and helpful. I can’t say my experience has been close to the same in react or angular.
- danabramov 8y agoSorry to hear you've had troubles in React community! Do you have any examples of places where people haven't been polite or helpful? Your feedback is appreciated.
- philliphaydon 8y agoThis is quite a while ago now. I have no examples because it was a 1 off thing when I was learning and it just left a sour taste in my mouth, I believe it was in gitter. I didn't know react has discord now though. So I'll have to join that as we've got a new react project at work (even tho I wish we were using Vue). The angular gitter is worse. On their gitter I asked about some performance issues and was told I was "stupid" and "don't do it like that" even tho that's how the documentation showed how to do it, and "you shouldn't be using Angular because you don't know what you're doing". (I was eventually helped in a private chat by someone and resolved the performance issues just changing a few things, but this was driving force to ditch Angular and move to React) Edit: Also for you to reply with concern does give me more faith that the community may be better than I thought. I appreciate your time to read my comment and reply.
- danabramov 8y agoGot it, thanks for elaborating! We have a few resources listed here: https://reactjs.org/community/support.html#popular-discussion-forums https://reactjs.org/community/support.html#popular-discussio... If there’s negative behavior from those communities or if they’re not moderated well we’d love to be alerted so that we stop sending people there. What you went through with that gitter chat sounds horrible!
- Jarwain 8y agoThe #1 reason for me was how easy it was to pick up vue and start building something quickly. Which probably just has to do with my own background experience working with knockout and html/css/js. It's an easier stepping stone, a more natural progression for me. I think it'd be a lot easier to pick up react now that I'm proficient with Vue.
- ilovecaching 8y agoI felt the same way coming to React from Angular. It's basically just writing functions: function HelloWorld(props) { return <h1>Hello World from {props.name}</h1>; } function App() { return ( <div> <HelloWorld name="Sara" /> </div> ); } ReactDOM.render( <App />, document.getElementById('root') ); That's pretty much the whole thing.
- lukaszkups 8y agoCouple words from me: https://lukaszkups.net/notes/thanks-to-vuejs-ive-found-front-end-development-fun-again/ https://lukaszkups.net/notes/thanks-to-vuejs-ive-found-front... ;)
- WA 8y agoI’d argue most people use React without FRP, if you mean FRP = RxJS. RxJS is quite complicated imho.