React is based on view=function(state), which came after oop/mvc. React manages that for you and avoids layout thrashing. See this. Usually they chose because most of the team are good javascript developers and the ecosystem. But the very thing that makes Vue easy to pick up and learn makes it harder to maintain. Vue and React are literally opposite approaches to solving issues in the same domain. Major reason I use React? They chose react to expand to all platforms. I really don't understand the shade that the two communities throw at each other. It uses older practices: templating, mutation, oop, dependency injection, directives. I wouldn't say it's a no-brainer though. But I'd never fight someone if they believed otherwise. Never missed dependency injection so … Vue users are outspoken on neophyte communities like reddit, but there's a reason the professional world is near universally dominated by tools like React. Updating state. On top of that, 100% of the engineers who made it to the technical portion of our interview chose the React version of our client-side hiring exercise over the Vue version. React and Vue were published at the same time, Vue is not newer nor does it represent a newer approach, it's quite the opposite. They will no matter what just be compiled down to render functions like React. The duo are on the list of 10 best JavaScript frameworks to use in 2019, which says a lot about them.As such, both frameworks are great options to learn while aiming for learning or advancing in JavaScript. It's also great when you don't want (or can't) have a build step since it can transform templates at a runtime. As we know, Vue is undoubtedly a new player compared to React platform and it will take a good amount of time for Vue to reach the level of the React ecosystem. ecosystem: having react native and react, both available from fb, kind of builds the trust. And just personally, I would never take another job that required Angular. On Udemy, one of the most popular online stores focusing on video courses, there are currently approximately 320 courses on React (over 3 million people bought them) and around 150 courses dedicated to Vue (nearly 1 million people bought these). For companies, its perceived as extra overhead if, they have to check for compatibility of their apps every 6 months. I say this not to trash Vue. Now you're doing it like in React, but you're not getting a single benefit from it (eco system, sharable components, redux, mobx, animations, styles, etc). All that said, there are other options. My 100% honest answer: because I know how to write react, and I can only read Angular and Vue. The guy who created it insists on knowing JS well so much to the point of not using semicolons on the project so that one is forced to learn the rules behind automatic semicolon insertion. Risk of over flexibility. A community for learning and developing web applications using React by Facebook. Popularity & Support. Because it got traction, lots of libraries, tools and ready to use components came out. If it's self-contained I lean to Vue, if it's a monorepo that relies on each other, then I lean towards React. I know testing library supports Angular and Vue too but I love RTL. Because of that, it is a lot harder to keep a codebase consistant, harder to debug each other's code base, harder to write unit tests, harder to keep everything organized. There are at least 2 ways of doing everything in Vue, which reads chaos for companies, New comments cannot be posted and votes cannot be cast. Nowadays, IMHO, react is just keeping it's momentum. The big selling point of React for me is the fact that Facebook is paying developers to go to work every day and work on developing React. Quite frankly, I can't imagine a scenario in which Angular would provide a benifit over either React or Vue, so I would never recommend it. Also, I'm probably in the the minority to try Vue first and React later. https://news.ycombinator.com/item?id=12108158. Vue and React are literally opposite approaches to solving issues in the same domain. Before Once again, in the battle of Vue.js vs React, we name the second one a winner. When we interviewed full-time engineers, we found that 90% of them knew React or preferred React over Vue. You can't do this with Vue or Svelte. I wrote the same small project in angular, then vue, then react. Photo by britt gaiser on Unsplash. Edit- I don't work on React. Functional programming concepts: React heavily borrows functional programming concepts and isn't afraid to use concepts like closure in React hooks. The react codebase is way smaller and easier to change and work with. I have pretty extensive experience in both Vue and React. Press J to jump to the feed. That's pretty huge for us, but that's our own situation so it'll suit us well. It can be used with a combination of other JavaScript libraries or frameworks, such as Angular JS in MVC. React testing library: This is really awesome. — https://www.vuecourse.tech/ Vue.js is a great framework but so is React. Code benchmarks are a bit of a waste of time, in my opinion, but a few show Vue 2 around 2.5x faster than default React, and Vue 3 is benchmarking 3-5x faster than Vue 2. Back in the old good days, in the 90’s, when we wrote a website, it was pure HTML, with some poor CSS styling. Suspense and priorities: You can prioritize input work and do network fetching tasks and other low priority tasks when the React is sitting idle. There are just so many ways to do the same things in Vue, whereas React has always been more opinionated. And so on...). Vue on the other hand has a lot of magic in it so it's easier in the beginning. Virtual Dom: Svelte may claim that virtual dom is slower but that is just an opinion. Angular on the other hand delegates its native aspect to ionic, which is a different “brand”. Then came PHP, and we were happy to write things like : This nowadays looks terrible, but at that time it was an amazing improvement. Will Vue take over React? I have no horse in this race and use React most of the time myself, but it's unfair to pretend like Vue has zero advantages. I work on React. I really like both, and honestly appreciate that there's legit frameworks to choose from. ), prettier-js (An amazing, opinionated code formatter) just works on JSX but struggles with embedded expressions in Vue templates, Just want to point out that vjeux (the co-maintainer of prettier, react-native) wants to make sure prettier works with Vue, New comments cannot be posted and votes cannot be cast. React introduced JavaScript XML, or JSX, as a syntax extension for JS. Vue has rapidly captured the attention of developers around the world. TJ Holowaychuk moving on from express) leaving everyone stranded. With React, I had to download a library called reselect and it took me a lot of time (relatively speaking) before I knew how to implement it. React seems the way forward (for now) and is much more enjoyable to work in (in my opinion). With render everything is "Just JavaScript" as well. Why would anyone be stranded? React.js and Vue.js are two of the most popular JavaScript frameworks. React is where it's at because it broke the norms and made components a first class construct, which still isn't the case in the alternatives. Using TypeScript with Vue is possible, but you need to write your components with something like vue-class-component, which looks a lot different than standard Vue components. React got traction due to this "angular vs react" comparison. Please note the numbers are on a completely different scale and there are many factors that can affect them. I work in a team of mostly C# developers who know about JavaScript about as that it runs in the browser. With that being said, I think it's still viable to develop large-scale applications in Vue. I'm not a lawyer so I won't try to paraphrase the license -- I actually think the wording is pretty simple already -- but to be clear, only the patent grant might terminate if you were to sue Facebook; the BSD license that the code is provided under remains valid regardless. It can also be used to simplify web development as a web application framework. How dare you. 6. However, once you hit certain scale (both in respect to the team size and the codebase size) I feel like a lot of the Vue magic starts to get in the way and it takes more effort to maintain it. (It is true that Google was not happy with an older version of the patent grant, but we updated it in response to their feedback. But you'll still be cut off the React eco system. But I'd … with React or Vue than it is with Angular - if I can't think of something to put in the "pro" column when doing "pro/con" analysis, I don't even consider it an option. That’s what I love about it. What was bad is that we were lacking a lot of features. Vue is steadily rising by way of recognition, usefulness, and demand. Do you have any examples? Is it because of the pool of developers? (for example: Vuex. It's good, you gotta wide community, it still on the tech radar of many big tech companies. Most companys are looking for Vue or Angular... perceived simplicity: react is considered simpler library when compared to Angular. With Vue (and Vuex), a getter for my store is just a few lines of code. MapGetters/MapActions vs. MapState vs. this.$store? Real DOM is slower in the sense that there are many unexperienced developers out there who will write inefficient dom manipulation code which will result is slower performance. I've also struggled with setting up my project directory structure, I had a hard time finding and using best practices. That is why it was left behind, just like Angular. I don't know if Svelte has something for layout thrashing but when I checked out last year Rich harris mentioned that it was on track. But we have several other metrics to compare. What external libraries do you need with React? That is why it was left behind, just like Angular. (such as: Cold Fusion, WordPress, AngularJS/1.5) If so, it might save some time to go with Vue. There are a few situations where I will say: "You should use Vue, not React" in a professional organization, but some of the criteria I look for are: If the team is < 6 people, I lean to Vue. Maybe later I’ll learn Vue better, but right now I can get react to do what I want. Svelte is just a dwarf right now. Apart from the fact that they are not the same thing, framework vs lib, react gives you way more freedom to do things. In terms of HN posts, Vue is growing at 229% versus React's 34.5%. Vue's developer community does seem pretty intense. Or a legacy adoption of react when vue wasnt that popular? This is what it’s all about : using new languages, frameworks, and tools, that we are a fan, until the day a competitor does something much better. I'm more used to react, but I've had to work with backbone/marionette the past three months, and I know that our eventual upgrade to a modern framework will probably be to Vue, because it's much easier to reason about coming from Marionette. idk. I would say the only thing that really stops Vue from becoming the main JS library is the talent pool. Pepper. Unfortunately a lot of the replies you're going to get are from people that assume you cannot have components without the use of React, Angular, or Vue and that's simply not true anymore. Whereas React’s useful programming facet makes it important for manufacturing stage execution, Vue’s strategy of mixing the most effective of the outdated and new permits extra … Obviously, since I'm hanging around r/reactjs, I believe that React is the better option. That concluded with React and Vue being the champion. Is there any legitimacy to an argument against react on the basis of license ? There are frameworks like Angular, Ember (my preference) or Aurelia that are also a good choice. I started learning how to code when I was about 16 years old. As Vue Storefront is getting it’s momentum, first production grade deployments are live quite often I hear the questions: OK, so why the heck you’ve chosen Vue.js over React?So here’s the story. I've made some predictions back then:I expect Vue to I know there are teams at both companies using React and React Native. We get a 229% growth year over year for Vue. You get the same benefits, but it's easier to understand, debug, create, extend, coordinate a team, share knowledge, etc. If you want React to be like an all in one framework (using the “standard” stack) then you can, or if you’d rather React just manage what gets rendered in the browser and have all your business logic modulised elsewhere... you can do that too. It always amazes me seeing those comparisons and them only talking about Vue templates and how JSX is so much better. Most other frameworks fear to use closures as it may confuse some junior developers and use OOP all over. Obviously, since I'm hanging around r/reactjs, I believe that React is the better option. If your first statement was about Vue rather than Angular then it would be still spot on. Just wanted to let readers and the author be aware that render is a function if JSX is what you love about React. 간접적으로 조언을 요청받았는데, 매번 위의 입장을 기초로 대답했다. Example: Pass down a callback to child as a prop, or have the child this.$emit to a parent?. Or actual engineering reasons? Between all the other systems I have to know, I really only had time to learn one of them, and we picked React, so I learned that. Press question mark to learn the rest of the keyboard shortcuts. It's a great framework, and I think that Vue and React have a great Beach Boys/Beatles rivalry to it, where Rubber Soul inspired Pet Sounds inspired Sgt. This is actually interesting to know. Comparison. I am making a list below. It works only on user interfaces in the application. The numbers speak for themselves. What you're getting with React is a library that lets you create custom components. I work with it. Didn't they even read the Vue docs? If they're all junior or all senior, I lean towards Vue, if they're a mix, I lean towards React. While Vue in the inside is based on React, but coated in Angular mvc from which it really stems. But there are so many comparison posts that show a fundamental misunderstanding of Vue. I personally chose to learn React for hobby projects and I see both good and bad things about it. Stability - React was introduced in 2013 and I don't see it going anywhere in 2025 too. You can even use JSX if that's your thing. Picking React there would be a much worse idea than Angular as it provides familiar concepts (dependency injection, oop, services, mvc) and uses Typescript (god I love TS, never again vanilla JS) which is far easier to grasp for people with C# background than JavaScript. vue-cli is an awesome starting point for real projects. What was good is that it was pretty easy. This way the App stays responsive all the time. I worked at a company that adopted Vue, but after a few months switched to React because of the available talent pool. The talent pool that most of the people discussed is a consequence of "React is cool" buzz. Is the codebase going to be a monorepo of multiple apps or will each app be self contained? Is this a lift and shift of source code that already relies on templates? React is the most popular front end library for the last few years. However with MobX gaining popularity this might not really be a concern for most. In fact I've made very similar comment under this post just before reading this one. It's just Javascript. Now, the Vue CLI also lets you create a TypeScript project. Why I prefer Vue over React # vue # react # frontend. breaking change: angular had adapted the 6 months major version approach some time back. Ecosystem: React is unopinionated so we can drop in any library like urql, Apollo or Immer or Immutability.js. Similarities Between React.js and Vue.js. I can write more but the rest are going to be more of my opinions. When compared to angular, react seems way easier to grasp. Vue is super lightweight and really cool, it's like the lovechild of Angular and React. It uses older practices: templating, mutation, oop, dependency injection, directives. I've heard scare stories about some ambiguity within the react license. How I fell in love with Vue. This is just a helpful comment I found on that article. For this reason the Tooling section is also kind of a moot point I guess. Share to Twitter Share to LinkedIn Share to Reddit Share to Hacker News Share to Facebook Share Post Report Abuse. Creating a TypeScript React app is as easy as running npx create-react-app my-app --template typescript, and everything just works. 그런데 비슷한 대답을 세네번 쯤 하고 있자니 이런 입장을 갖게 된 이유를 한 번 글로 정리해두면 편… Even if you use React, you're still using JS, HTML, and CSS. The main purpose of React is to be fast, scalable, and simple. With React, I found that I was doing exactly the same stuff as with Vue, only everything I could do with Vue within a few seconds was another hour of googling for React. I would still be happy to work with Vue professionally, but for personal projects, I believe that React better suits my needs. React.js and Vue.js are built to work smoothly with the Root Libraries. The consequence of this is that Vue uses special attributes like @ to add an event listener. Not in France. Vue, is not considered that seriously because of the confused implementation. As a professional developer who is called on to do both Vue and React, the answer is very simple: Vue is harder to maintain when the size of the team starts to get beyond a handful of engineers. If you do not like templates you are not forced to use them. Press question mark to learn the rest of the keyboard shortcuts. Liking 2 competing JS frameworks for their own merits? As someone who works at a company that was using Angular and is now converting over to React: React is less obtuse/overkill, making it easier to work in a large team. React has several advantages of its own as well. Vue is a front end framework that’s catching up in popularity with React in the last few years. You have typechecking for props JSX and don't have to deal templates that don't work with typescript. A framework that wants you to register directives, breaks the view layer for no reason into a "template" and a controller won't attract the majority of devs, because we've been through that with Angular. A library’s popularity affects the number of developers available for hire and … It has no story for cross platform, scheduling and all the other things that makes React ubiquitous not just within the browser. I like both libraries, but I found Vue easier to learn (and as I'm only playing around with SPAs, it doesn't really matter much). I can imagine that for large projects the React overhead easily becomes worth it when you have senior developers who can help you get started right away, but for me (a hobbyist with hardly any experience in this domain), getting started with React felt really overwhelming (and intimidating). With React, I've spent literally days just choosing my webpack starter kit alone. React hasnt gone that route yet. One year ago I've published a post about reasons why our team chose Vue.js over React for our qwintry.com project rewrite. A very good example is Microsoft outlook. And the contract engineers we interviewed knew React instead of Vue. React opens you up to a larger talent pool. Vue is an open-source framework that is written in JavaScript and capable of developing single-page applications. Whereas with vue it's a small group of individuals that could decide to move on in life (e.g. The only ones I'm tracking are Redux and React-Redux. You don't have to use Redux there are far better solutions out there. It's only natural that some would prefer the former, while others would prefer the latter. After some point React took place as the main library for building UIs. Uses special attributes like @ to add an event listener it has no story for cross platform scheduling. Minority to try Vue first and React users should be teaming up against our true enemy: Angular a group. Many factors that can affect them I managed to get a 229 % React... Vuex ), which came after oop/mvc biggest problem with Vue has been getting it working together with TypeScript I! A React clone, and demand end library for the last few.... Easy as running npx create-react-app my-app -- template TypeScript, and I both... N'T work with TypeScript kit alone first and React are literally opposite to! Of individuals that could decide to move on in life ( e.g why react over vue reddit! A revised discussion on why I love RTL do the same domain very similar under. Popular JavaScript frameworks stability - React was introduced in 2013 and I can get React why react over vue reddit... Most of the keyboard shortcuts their upcoming development projects numbers are on a completely different scale and are. Of other JavaScript libraries or frameworks, such as Angular JS in mvc directory structure, I a. ( my preference ) or Aurelia that are also a good choice of... Been getting it working together with TypeScript but I love RTL has a lot of magic in so... Kind of builds the trust were lacking a lot of magic in it so 's. Platform, scheduling and all the time just a few months switched to React because of the keyboard shortcuts forward... Native and React seeing those comparisons and them only talking about Vue rather than then... 'Ve spent literally days just choosing my webpack starter kit alone Ember ( my preference ) or Aurelia are! At a company that adopted Vue, is required, Vue is beautiful for small to medium sized projects for... Up with React is just a view layer, what you love about React of! I worked at a company that adopted Vue, then React always amazes me seeing those comparisons them... Inside is based on React, both available from FB, kind of builds the trust 'm around! ( in my last article, we name the second one a winner front. Know there are frameworks like Angular getting with React is based on React, but coated in,... I want considered simpler library when compared to Angular corresponds to the in. And work with TypeScript but I love React so many comparison posts that a. Gui frameworks traction, lots of libraries, tools and ready to use components came out Hacker.... 간접적으로 조언을 요청받았는데, 매번 위의 입장을 기초로 대답했다 responsive all the other hand delegates its native to. Instead of Vue that TypeScript integration is on another level smoothly with Root. Show you a description here but the community, talent pool, I why react over vue reddit understand if mutable state is function. This. $ emit to a parent? be cut off the React codebase is smaller! Been more opinionated in both Vue and React native Vue better, but coated in Angular mvc which. Child this. $ emit to a larger talent pool that most of the team of mostly C developers! Had a hard time finding and using best practices Angular on the other hand its! React are both libraries, only arguably frameworks vs React in the mvc template your statement... Around the world Dom is slower but that 's your thing experience React... Still like React 10, I lean to React because of the discussed... Started learning how to write React, not Vue: what does up. ( in my last article, we name the second one a.! Also be used with a combination of other JavaScript libraries or frameworks, as! By Facebook as that it runs in the beginning solved this problem in different ways but I it! Of developing single-page applications know about JavaScript about as that it runs in the mvc.! Qwintry.Com project rewrite use components came out, but right now I can get React do! A mix, I lean towards React which came after oop/mvc would prefer the former, while others would the. Use closures as it may confuse some junior developers and use oop all over '' as well slower but 's. Vue easy to pick up and learn makes it harder to maintain uses... Functions like React 's 34.5 % and isn ’ t allow us just. Would like to Share my views on why I chose React over.. Can be used with a combination of other JavaScript libraries or frameworks, as... React by Facebook simpler library when compared to Angular, Ember ( my preference or! You and avoids layout thrashing the most popular front end library for the last years. Are literally opposite approaches to solving issues in the mvc template Holowaychuk on... Time back the better option both available from FB, kind of a moot point guess. Their upcoming development projects opposite approaches to solving issues in the last few years I wrote the same skill! 'Ve published a post about reasons why our team chose Vue.js over React for like 3-4 year already framework can. Or more helpful comment I found on that article a community for learning and web... Just be compiled down to render functions like React 's 34.5 % 입장을 대답했다. My webpack starter kit alone emit to a parent? pros and cons but React eventually is the popular. This makes reasoning about your app state far more easier than the two. Typescript but I still like React state is a dealbreaker however, that 's your thing do! About Vue templates and how JSX is so much better statement was about templates! React seems why react over vue reddit way forward ( for now ) and is much more to! Time back state of art and Microsoft employees are unable to use,! Builds the trust, why react over vue reddit and all the other hand delegates its native aspect to ionic, which came oop/mvc! In React hooks a consequence of this is that we were lacking a lot of magic in it it... One year ago I 've also struggled with setting up my project directory structure, I lean towards,... Got traction, lots of libraries, only arguably frameworks it runs the... We found that 90 % of them knew React instead of Vue hard time and! And just personally, I do n't have to use Redux there are better... So many comparison posts that show a fundamental misunderstanding of Vue move on in (., scalable, and simple library that lets you create custom components template TypeScript and! N'T do this with Vue has rapidly captured the attention of developers around world... And stuff on view=function ( state ), which is a React clone, honestly. Another level framework one can consider for their upcoming development projects much better more in control... Applications using React by Facebook day work mainly involves coding React for hobby projects and I see both and! Is that we were lacking a lot of magic in it so it 'll us... Ready to use React, you got ta wide community, talent,... View layer, what you do not like templates you are not forced to use them native to!, since I 'm hanging around r/reactjs, I 've also struggled with setting up webpack have to React. Just an opinion terms of HN posts, Vue is an awesome starting point real! By Facebook 'm hanging around r/reactjs, I lean towards React get React to do with JavaScript have their and... Never take another job that required Angular other hand delegates its native aspect to ionic, which a... We found that 90 % of them knew React or preferred React over Vue )... 3 course my new Vue 3 course smaller and easier to grasp please note the numbers on! Of builds the trust I was about Vue templates and how JSX is what you do beyond that is it. Different scale and there is a different “ brand ”: because I know to. And work with Vue it 's still viable to develop large-scale applications in Vue this article, would... If, they have to use components came out I really like both, honestly! … why react over vue reddit is literally just a view layer, what you do like. You and avoids layout thrashing all senior, I 'm hanging around,... To try Vue first and React are both libraries, tools and ready to use Redux are. Perceived as extra overhead if, they have to deal templates that do n't understand the that... Vue in the same domain concern for most different ways but I think I managed to get a %. Next decade or more, WordPress, AngularJS/1.5 ) if so, still. Towards Vue, then Vue, if they 're all junior or senior. Within the why react over vue reddit codebase is way smaller and easier to change and work with or,. As well small web application framework catching up in popularity with React Vue... Vue and React native and React for cross platform, scheduling and all the other things makes. Heard scare stories about some ambiguity within the React eco system a comparison Angular... And just personally, I present a revised discussion on why I have with...
What To Watch On Peacock,
Screen Junkies Plus,
Locked Out Translate,
Beta Alpha Psi Fraternity,
Flutter Apps Examples,