Why I'm Switching from Vue to React

  Рет қаралды 66,603

Suboptimal Engineer

Suboptimal Engineer

Күн бұрын

In this video, I go over my reasons for switching frontend frameworks from Vue to React. It's not an easy decision but after having spent most of 2021 learning Vue and even building a startup using Vue, it's time I make the switch. We will look at Vue.js vs React.js from the lens of building startups and analyze its community support, TypeScript integration, and the job market.
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Resources ] ==
Vue vs React: / vue_vs_react
Vue 3 TypeScript: / is_vue_3_really_that_t...
== [ Timestamps ] ==
00:00 Intro
00:47 Vue vs React
02:35 Community Support
04:38 TypeScript
07:33 FAANG Job Market
09:50 Final Thoughts on Vue
== [ Tags ] ==
#suboptimal #vuejs #reactjs

Пікірлер: 245
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Hit me up on Twitter 🐦 twitter.com/SuboptimalEng
@jahwin
@jahwin 2 жыл бұрын
try vue 3
@offgridvince
@offgridvince 24 күн бұрын
Ok
@NigelStratton
@NigelStratton 2 жыл бұрын
For me, Quasar v2 (Vue 3) in Typescript, with Vite's super fast reloading straight from ts and the simplicity of pinia is awesome.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Haven't kept up with Vue but this sounds like a good direction for it!
@BrotWurst
@BrotWurst Жыл бұрын
that's exactly my current project frontend stack wtf :D
@BrotWurst
@BrotWurst Жыл бұрын
and i18n
@studiomonty
@studiomonty 11 ай бұрын
Is there not a Pinia alternative in React?
@thabo5799
@thabo5799 2 жыл бұрын
Agree with everything else except the typescript support. Vue3 typescript is pretty good, considering it’s fully built with it too.
@BrunoSantos-ek9ug
@BrunoSantos-ek9ug 2 жыл бұрын
well, it was supposed to be, until i found out all the extra work you need to do to setup importing for the new SFC script and the inline-only type definition for props (this is the worst, actually unbelievable)
@tigrankhachaturian8983
@tigrankhachaturian8983 Жыл бұрын
Yes, it's build with typescript. Does it help much? Kinda, compared to vue 2 the support is much better, but compared to react, it is not even close. That's primary reason why I swithced back to React after a while
@_modiX
@_modiX 2 жыл бұрын
In how much things have changed, especially with Nuxt 3 entering the scene?
@3ull
@3ull 2 жыл бұрын
My opinion is that although vue is behind, it’s an advantage in the sense that it’ll get some things right by studying other frameworks like react and their way of doing things.
@timbijnenKMT
@timbijnenKMT Жыл бұрын
And this is a good thing?
@3ull
@3ull Жыл бұрын
@@timbijnenKMT How did you think React and Vue came to be?
@Schoko4craft
@Schoko4craft Жыл бұрын
@@3ull I can't angular with that
@sarthakjoshi9824
@sarthakjoshi9824 2 жыл бұрын
I think the vue course creators need to add additional resources how to answer questions on stack overflow , how to submit pull request, how to create new vue plugins and packages and stuff like that.😇 I will certainly start contributing once i have good mastery over vue. Lets fight React not join it.
@sirmiles1820
@sirmiles1820 2 жыл бұрын
good luck bro! join the team!
@bombrman1994
@bombrman1994 2 жыл бұрын
I did React, React Native, Angular, Ionic at school and got full marks on all of them with projects for each class ofc. After graduation I got hooked into the idea of learning Vue and now im diving into it. I always prefer to experience it myself and make a decision.
@thecoolnewsguy
@thecoolnewsguy Жыл бұрын
Why fight it? GIve us reasons.
@luckyardhika3781
@luckyardhika3781 8 ай бұрын
then fight us, u got the wrong enemy😏
@velcro0004
@velcro0004 Жыл бұрын
Where in time did you get 3 weeks from? 2hr/week => 4.3days/year
@badasscoder4481
@badasscoder4481 2 жыл бұрын
4:42 Can we use typescript + vue 3 in production? Actually, my project manager asked me to use ts with vue3. But he is an angular developer.
@himaninegi9674
@himaninegi9674 2 жыл бұрын
Yes, we can use ts in vue js project.
@akash-kumar737
@akash-kumar737 2 жыл бұрын
A bit of correction. In India we write npm package in English. I never came across any package or docs written in Hindi.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
It was a joke 😂
@godmode9281
@godmode9281 2 жыл бұрын
@@SuboptimalEng oh really not so funny
@GameChuckk
@GameChuckk 2 жыл бұрын
@@godmode9281 why so serious ?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
For what it’s worth, I’m Indian and can speak Telugu and Hindi. Grew up in US so I have an American accent. My original channel name was Telugu Gameboy 😅
@3ull
@3ull 2 жыл бұрын
Great Video. Curious. Despite those reasons, development wise from a coding perspective, which framework do you enjoy coding in? Do you miss single file components in vue?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Thanks, SV. The main benefit of React (for me) is the number of tutorials and blog posts that people have made on it. Learning from the community has helped me get up to speed on new frameworks/libraries a lot faster than when trying to read the docs in Vue.
@jessicamorris8035
@jessicamorris8035 Жыл бұрын
This is Such a Valuable Video. It's very helpful for new developers who are starting their careers and also expert developers for better understanding. Thank you so much for sharing! Keep Sharing!
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Thanks Jessica, I'm glad the video was helpful!
@damianperez7736
@damianperez7736 2 жыл бұрын
Even if there are a lot of react jobs, you will also have a lot of react developers applying for the same job, so at the end of the day it doesn't make sense. But if you learn something that is in less demand you will actually have a bigger change of getting a job, because there won't be many developers using that technology, like vue, svelte and even solid Js
@CodingAbroad
@CodingAbroad 2 жыл бұрын
Don’t forget Angular ☺️
@oezer
@oezer 2 жыл бұрын
Bullshit
@SandeshMotoVlogs
@SandeshMotoVlogs Жыл бұрын
@@CodingAbroad who on the earth said you angular has less jobs
@garthok6224
@garthok6224 Жыл бұрын
from the point of view of the company, it is better to go for react, because, you can save some money because there are more react developers. React is the best option for a company.
@Zen-lz1hc
@Zen-lz1hc 2 жыл бұрын
Like :) Thank you for being honest and open about Vue. I know it hurts... especially because you put the time and effort to learn Vue and already build many projects in it. Really appreciate your video, Thanks Man :)
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Thanks a lot for the comment Zen 101! I feel like a lot of people think I'm talking negatively about Vue, but really, I'm just trying to pass on this experience/knowledge to people who are choosing between React or Vue. If anyone is in a similar boat, it can save them weeks/months of effort!
@DodaGarcia
@DodaGarcia 2 жыл бұрын
It’s a little silly to talk about switching as though it requires relearning everything from scratch. Most front-end coding skills transfer over just fine between Vue and React, and even to a more opinionated framework such as Angular.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Yea I agree. I mainly made this video to help others who may be stuck in a similar situation and not know which framework to pick. It’s easy to pick up frameworks once you are familiar with one, but when you are a complete beginner it can be hard to make this decision yourself.
@jaspercaelan4998
@jaspercaelan4998 2 жыл бұрын
This is the problem. They might transfer to other front end frameworks but they don't transfer well to anything else. Few front end developers know core computer science fundamentals and so they end up repeating mistakes we made 10 or 20 years ago sadly.
@JEsterCW
@JEsterCW 2 жыл бұрын
Angular is like low level c++ frontend framework, so idk what are u trying to tell here. The difference are huge even if theres slot of similiarity.
@perrylets
@perrylets 2 жыл бұрын
@@jaspercaelan4998 (read it like a jingle) Actually a lie
@CapturedinMegapixels
@CapturedinMegapixels 2 жыл бұрын
@@jaspercaelan4998 could you please give some examples of 20 years old mistakes front-end developers are repeating? This is a genuine question, I just want to learn.
@Programming-Fun-With-Hima
@Programming-Fun-With-Hima 2 жыл бұрын
Long live Vue 3.0 💗💙💛
@akinhwan
@akinhwan 2 жыл бұрын
i first learned Vue in 2017 and it got me into js frameworks, just felt friendlier from an outside perspective. but now I'm picking up React because of all the interviews I'm getting stateside that use it in their stack. no regrets had some good times, but suspect I'll be more React moving forward
@sayoko5362
@sayoko5362 2 жыл бұрын
Vue3 do component communication globally by reactive and ref api easily, React can also do that but more complicated. Most important is that React has render issue.
@newage9670
@newage9670 Жыл бұрын
Can elaborate render issue in details?
@luckyardhika3781
@luckyardhika3781 8 ай бұрын
its not render issue, its skill issue
@juniorWeb247
@juniorWeb247 Жыл бұрын
best video i ever found on the internet which helps to understand the difference between react and vue. Now I have a clear goal really thank you so much. God bless you, man.
@webJose
@webJose Жыл бұрын
I'm no Vue expert (or React for that matter since I am a backend dev), but I think the panorama has changed since this video was released. Look for more recent information.
@JenuelDev
@JenuelDev 2 жыл бұрын
If vue improves, would you go back and use vue more?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
IMO, it’s the Vue community that is currently not fully developed yet - Vue itself is pretty good. React has lots of npm packages with TS support, and it also has lots of helpful blog posts and tutorials about everything you can ever do with it. Vue is lagging behind in this area so it’s harder to learn stuff quickly and just build things. It would be great to give Vue another shot once it’s community gets a little stronger 💪
@deoarlo
@deoarlo Жыл бұрын
Exactly what I need now. Wow the accuracy
@patrikkaprinay483
@patrikkaprinay483 2 жыл бұрын
really nice, well structured video!
@DodaGarcia
@DodaGarcia 2 жыл бұрын
But yeah while I love Vue and it was my first contact with modern front-end coding, Vue 3 went into a direction I just don’t find that appealing. Maybe my needs are just different but it feels like it added a bunch of complexity for very little added benefit. I don’t want to relearn the way I use the tool while still having to worry about my project becoming a scrambled mess as soon as it grows a little. So I’ve been starting to try out Angular, mostly because of the native TS and how the opinionated architecture keeps the code maintainable. But if I find something that offers similar modularity for React projects then I might just land on React because there’s a much bigger ecosystem. With Angular it’s so small that you actually have to list pros and cons before choosing a component library, because there’s very few around and each lacks something vital that the other has.
@CodingAbroad
@CodingAbroad 2 жыл бұрын
Just use primeng
@oswaldoolea2889
@oswaldoolea2889 2 жыл бұрын
you are right in your decision, very rational logic that aims very high with your business, however I remain with VUE because conceptually I consider it more technologically advanced and this prevails in my case, over the business logic, and theoretically later on it will pay the initial disadvantages you're talking about
@liamconverse8950
@liamconverse8950 2 жыл бұрын
Vue 3 is out now and it's a lot better than Vue 2. Typescript support, composition API & script setup setup, also it's significantly faster and lighter weight and react. The fact that it's popular in China means that there is actually a rather large community support.
@mohammedyusuf3888
@mohammedyusuf3888 2 жыл бұрын
@@liamconverse8950 the documentation is not in english or latin based languages but in mandarin or cantonesse...its hard to search even if popular in china language barrier
@liamconverse8950
@liamconverse8950 2 жыл бұрын
@@mohammedyusuf3888 what are you talking about? It's very well documented in English. I never would have used it if it wasn't
@newage9670
@newage9670 Жыл бұрын
@@mohammedyusuf3888 You probably found the wrong localization? I have been reading Vue doc in English, I'm Chinese.
@sraulmartins
@sraulmartins Жыл бұрын
I liked the video and the comparison, but I'm still trying to understand what "International" vs "America" means at 7:35 :/
@joshcv3850
@joshcv3850 8 ай бұрын
I love Vue! Once I learned Vue, writing code in React seemed just obnoxious, especially in the setState/use state pattern.
@nightsurvivor
@nightsurvivor Жыл бұрын
thanks for the explanation
@offgridvince
@offgridvince Ай бұрын
Did u switch back yet? Nuxt 3 is amazing!! Nuxt 3.12 and 4 on the way...
@SuboptimalEng
@SuboptimalEng 24 күн бұрын
I’m still using react.
@offgridvince
@offgridvince 24 күн бұрын
@@SuboptimalEng ok cool
@av8419
@av8419 Жыл бұрын
I 100% want JS in my HTLM :) I prefer Nuxt and Vue .
@jakewantulok2040
@jakewantulok2040 2 жыл бұрын
I switched from React to Vue. Community support is wonderful actually. Vue 3 + Typescript is great. And, f*ck faang.
@serhiicho
@serhiicho 2 жыл бұрын
Thank you man, the more you guys leave, the more jobs we'll have. 😉
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
😂
@serhiicho
@serhiicho 2 жыл бұрын
@@SuboptimalEng 🤣
@JEsterCW
@JEsterCW 2 жыл бұрын
Owned 🤣🤣🤣
@himaninegi9674
@himaninegi9674 2 жыл бұрын
😆😆
@rolandocruz1695
@rolandocruz1695 3 жыл бұрын
I loved this video! I’m ready for new react tutorials :)
@SuboptimalEng
@SuboptimalEng 3 жыл бұрын
Nice to see the “react”ion from you (and the others) is positive 😂 I’ll walk myself out now
@margo2328
@margo2328 3 жыл бұрын
@@SuboptimalEng It would be great to have video(s) on when to reach out for the useReducer hook versus just simply using plain useState or custom hooks.
@SuboptimalEng
@SuboptimalEng 3 жыл бұрын
@@margo2328 I'm still a beginner in React, but I'll be sure to make videos about this in the future!
@TheMitchingHour
@TheMitchingHour 3 жыл бұрын
I’m really enjoying React with a work project. I think I’d rather port my Vue side project to React than bother with Vue 3, it just doesn’t feel natural anymore.
@SuboptimalEng
@SuboptimalEng 3 жыл бұрын
It’s nice to let your React knowledge compound from work to side-projects. After all, the main point of side-projects is to showcase a cool idea 💡
@glowiever
@glowiever 2 жыл бұрын
I also share the sentiment. vue 3 is a lot like react I didn't bother. even has less libraries support (majority haven't switched to vue3)
@julian_handpan
@julian_handpan 2 жыл бұрын
Very wrong my friend! Vue3 it’s a lot way elegant than react!
@TheMitchingHour
@TheMitchingHour 2 жыл бұрын
@@julian_handpan I’m back on the V3 train, the transition will take a while though
@SridharKatakam
@SridharKatakam 2 жыл бұрын
@@TheMitchingHour May I ask why?
@curadermbcc9923
@curadermbcc9923 2 жыл бұрын
React has greater user community because is older than vue, and due they has a great company behind that from the begin has otorged more credibility and publicity, but it is not enough for migrate. Linux user community just represents 10 millions of users in the whole world. And Linux is infintely much better OS than Windows. But... Windows is the most used OS in the world, due to the monopoly has created by microsoft. Qwerty is the most common keyboard distribution, but in 1936 has been created Dvorak distribution. And this distribution is much better and has the keys more intelligently located on keyboard, but due to people's laziness to relearn a new, better-studied key layout, it didn't prevail as the standard ... And welcome carpal tunnel injuries to the hands! Etc...
@masterflitzer
@masterflitzer 2 жыл бұрын
oh i thought i am the only one thinking like this great points!
@shamsulhaque367
@shamsulhaque367 2 жыл бұрын
totally agreed!
@prashantmeena6137
@prashantmeena6137 2 жыл бұрын
Can i help you with your startup?
@_rcs
@_rcs Жыл бұрын
Great video. Nice balanced argument.
@biliyonnet
@biliyonnet 2 жыл бұрын
I like vue's syntax.
@tomasvavrinka8081
@tomasvavrinka8081 2 жыл бұрын
Approximately a year ago I did the same thing for exactly these reasons. I absolutely agree in all points of your video. Thumbs up!
@chr0em
@chr0em 2 жыл бұрын
Isn't Vue typescript friendly now?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
More so than last year, but I haven't kept up with it recently.
@RustyNox
@RustyNox 3 жыл бұрын
Nice to know
@unknotmiguel
@unknotmiguel 2 жыл бұрын
Vue here. Sometimes old/huge community does not mean it's best... But it's just what was most used in the past. It's like telling a bmw is better just because it has a better community, and not using a Tesla which has a smaller community... Though I prefere Tesla.
@Pedroulox
@Pedroulox Жыл бұрын
React is better for huge apps, its more customizable, but vue is sooo comfortable. Both have ts support
@asiacuisine4869
@asiacuisine4869 Жыл бұрын
This argument is invalid. Vue is equally good if not better for huge apps, simply bec it is simple, and more manageable, maintainable.
@lakshmichaitanya1316
@lakshmichaitanya1316 2 жыл бұрын
"hello, guys my name is enginner I make suboptimal content "😂
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Was waiting for someone to catch that 😂
@QueeeeenZ
@QueeeeenZ 2 жыл бұрын
Fair points, however Vue has a much cleaner syntax and less boilerplate code. It's unfortunate that React is 5 times more popular.
@ANDROID_SRB
@ANDROID_SRB 2 жыл бұрын
No jobs for vue.
@QueeeeenZ
@QueeeeenZ 2 жыл бұрын
There are jobs for Vue if you look hard enough
@ANDROID_SRB
@ANDROID_SRB 2 жыл бұрын
@@QueeeeenZ I find many vue jobs, but in description they always mention React.
@luckyardhika3781
@luckyardhika3781 8 ай бұрын
i think reactjs has much cleaner syntax and logic, but vue is less code
@i3looi2
@i3looi2 2 жыл бұрын
Ok.. here's a piece of my mind. Full disclosure: I have 12y+ of webdev (Starting from the age of PHP and Jquery). Most of my career was based on PHP/MCV Frameworks (Laravel, Yii2); My first JS Framework encounter was with Angular (which i hated so much), and after 1-2y I tried React, which was a step`up. I worked for about 4y in React (no frameworks). Then witched to Vue2 two years ago when when I got such project. 6 months ago I switched to Vue3, with the opportunity of Nuxt3. Personally I rarely care about "community/support", first thing it has to do is boost my productivity and pleasure of coding. It's something I re-found with Vue3. 1) Vue 3 (composition API) is a lot similar to React now. So that reddit post is no longer true. Vue can also use JSX/html in your JS. However on top of that, it lets you use the the old Options API if required; which is levels above react when coming to learning-curve cause it's more closer to what web-development should be ( HTML + CSS + JS) not a big soup. 2) both React and Vue are JS based, so tehnically you could use the basic code-mirror NPM and create your own components based on that in most cases (cause pretty sure in most cases when using an external npm/library you aren't gonna use 100% of its potential) 3) Nuxt3 is actually a nobrainer. The autoimport feature is 🤯 I made myself a boilerplate of Nuxt3 + Firebase Auth + Firestore (db,hosting,cdn etc) + FireCMS (crud/admin) and spinup a new website in 1-2hours. I can deliver a small website in 1week, and a medium one in 2-3weeks. --- though if you ask me, the best architecture has to be Svelte. When you strip away community behind, hype and glitter, and simply look at WHAT it can do and HOW it does it, Svelte is a monster of a compiler above Vue or React. (however it lacks too much on community/support even for my standards)
@JorgetePanete
@JorgetePanete 2 жыл бұрын
I tried searching videos about svelte used with Vue with no results, can you cite some sources?
@randomtimessomehow
@randomtimessomehow Жыл бұрын
I totally agree with your opinion. I'm a junior web developer and I just think that Vue is way easier and makes more fun than React. I tried out both and Vue just felt quicker to learn, which is the reason why I chose it as my main frontend framework. But I totally agree that there is an extreme lack of community support and documentation. For example, I'm using Nuxt 3 and there are multiple doc pages that just say, that there is no further information available at the time... That sucks. As soon as I gain more developer experience, I will definitely play around more with React/Next :) Thanks for the vid
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Thanks, Phillip! I'm glad to hear that my video resonated with your learning experience. Definitely recommend giving React a try!
@ImDino
@ImDino 2 жыл бұрын
your name is engineer?
@raj.blazers
@raj.blazers Жыл бұрын
I don’t like the options api anyway…. Although vue property decorator, class components are there…. It s like two different way of coding like using hooks and class based components
@glowiever
@glowiever 2 жыл бұрын
sounds suboptimal indeed
@ilanle
@ilanle Жыл бұрын
interesting to hear how you feel about this decision 1 year later
@SuboptimalEng
@SuboptimalEng Жыл бұрын
No regrets, most companies I’ve interviewed for in the past year use React in their frontend! One company used Vue, and was migrating to React.
@FrederickAlvarez_
@FrederickAlvarez_ 2 жыл бұрын
Another engineer :v here (Java dev), have you ever heard of this word - hype-? You cannot chose a technology based on hype because the hype changes from a month to another, do you recall when everything was about node being the super backend? now everybody want go/java+srping, I learned Vue and React and I can tell that Vue is way better you just nailed it, even react being backed up by meta (and thus used in all their companies) it is competing with Vue, money Vs quality ?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Now I just use “boring” technology. Boring tech has been battle tested in the industry and has lots of helpful libraries. Learning new tech is fun, but if I want to build a product that solves a need, then I will always choose “boring” tech.
@cryptolicious3738
@cryptolicious3738 2 жыл бұрын
hi guys, now that a year has passed sine the video and nuxt3 is out and pretty awesome, have your opinions changed? im a long time java dev and strugglijg right now btwn using nuxt3 or next for a quick project ive done the backend for and now need to do the front end. the app will be in flutter so might even just use flutter web build n not give a darn about either next or nuxt lol....
@raj.blazers
@raj.blazers Жыл бұрын
If I want to have html in JavaScript I would use angular instead of vue! Angular is the most underrated framework. Everyone thinks it has perf issues. But for enterprise level applications and long term stable support, the latest ivy engine does an awesome job
@bimbopezzolo
@bimbopezzolo 2 жыл бұрын
What about nuxt 3? Great video anyway
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Nuxt 3 was still in development when I was making this video
@bimbopezzolo
@bimbopezzolo 2 жыл бұрын
@@SuboptimalEng Yes I know, thats why I ask It now. It looks great to me, I think I will give It a chance
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
@@bimbopezzolo Definitely worth a shot! I'm currently building a "startup" in React so I won't be able to try out new things for a while.
@facundosoler2200
@facundosoler2200 Жыл бұрын
I really don't get / agree on why you said that Tests (TDD) would be something you want to cut out from your startup project because "typescript takes care of that" ? You don't "prevent errors from happening by incorporating typescript". The only thing typescript does in my opinion is help you type code, literally (strongly typed) and point to syntax errors early. It's not really a test suite or anything like that. It doesn't cover any use cases for your system at all. You either need actual tests for that or a lot of manual testing anyways if you want to launch a product, it doesn't matter if it has 1 user or 10.000 users. I really really didn't get why you said all that and it's missleading.
@northernlights2222
@northernlights2222 Жыл бұрын
agree with most stuff but FYI indian IT sector uses English as a primary language. They do not publish anything in Hindi. but I do see chinese documentation for vue,
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Yea, it was a joke but in retrospect, I shouldn't have included it. FWIW, I'm from India.
@PabloEzequielLeone
@PabloEzequielLeone 2 жыл бұрын
The tdd part made me understand why react is popular… it is the PHP of the frontend world… no tests because no one uses the software… that’s probably the worst excuse to not write tests that I’ve heard!
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Lots of companies start out without writing any tests - including FAANG companies! Facebook's old motto was "move fast and break things".
@theanswer1993
@theanswer1993 Жыл бұрын
And then you have Angular that has everything you mentioned but is a ton easier and better.
@darkwoodmovies
@darkwoodmovies Жыл бұрын
At the end of the day, React is the default for the industry which means it will not only get the most support, but also the most industry support, most tutorials and posts, the most developers ready to help out, and open source projects from individuals as well as big companies. Even if it wasn't necessarily the best, by virtue of being the most popular, it IS the one to go with if you have to choose. And its popularity in turn makes it well-maintained. All the other frameworks are great (except Angular), but really React is the right option for any serious business unless there's some niche feature that you truly can't get in React and absolutely need.
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Yea, this is pretty much what I learned. I now follow the philosophy of "choose boring technology".
@gansky999
@gansky999 Жыл бұрын
whats wrong with angular? (genuinely ask)
@SuboptimalEng
@SuboptimalEng Жыл бұрын
@@gansky999 I agreed with the general gist of OP's comment. I never used Angular so I don't have an opinion on whether it is good or bad 😅
@luckyardhika3781
@luckyardhika3781 8 ай бұрын
why peoples hate angular so much?
@JEsterCW
@JEsterCW 2 жыл бұрын
Vuex is not really considered as a state management anymore cause of pinia 😎. Also react is the most enjoyable tool for front end so far ive contact with even tho vue is my favourite framework is too good to work with... At the beginning i was hella sceptical and hater about react, but as soon as you ll jump into this frontend technology u ll love it how open and cool is to mske anything using it with styled components and tailwind in my case. Redux is pain in the ass and there are better tools than it, but its highly used in professional workflow, so obviously its the most popular and used one.
@raj.blazers
@raj.blazers Жыл бұрын
Element ui another css framework is more or less has the default language Chinese. Chinese ppl use vue more than anyone else, because it was developed by them
@antonbilichenko1312
@antonbilichenko1312 2 жыл бұрын
Vue is more handy tool IMO
@sasg87962
@sasg87962 2 жыл бұрын
Hello Engineer, My name is Developer
@dvlden
@dvlden 2 жыл бұрын
Hard-core Vue user here. Been using React for a year, but Vue for more than 4 years. Vue 3 is fully written in TS and support is outstanding. Let me blow your mind real quick: React is not written in TS at all, but has global type definitions, so its support can't be better than Vue's v3.
@jaana8882
@jaana8882 Жыл бұрын
For large codebases/business critical applications it's total thrash. They break so many things with every update, documentation is shallow, no examples for complex problems etc. The toolchain (testing libs, etc) is crap and also break your code after every update. Many of the additional libraries are in chinese and it's pain to debug and make things work properly. It's good only for hobby projects.
@PatrykPadus
@PatrykPadus Жыл бұрын
Boilerplate code? Thx - no. I use Vue and Nuxt as next iteration over React and Angular
@rememberme2170
@rememberme2170 Жыл бұрын
None of these points are related to framework's syntax. In that area Vue is a clear winner.
@atulsharma6296
@atulsharma6296 2 жыл бұрын
I enjoy react but frustrated using next js
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Huh, I've always heard that Next.js is THE framework to use for React 😭
@atulsharma6296
@atulsharma6296 2 жыл бұрын
@@SuboptimalEng I also that's why I start using it on major project now I m frustrated
@MrAtomUniverse
@MrAtomUniverse 2 жыл бұрын
React for MVP might not be as fast unless you’re damn familiar with react :(
@PabloGnesutta
@PabloGnesutta 10 ай бұрын
Vue 3 supports typescript
@MrKasoa
@MrKasoa Жыл бұрын
I've recently had to use react again after using vue some times and react is a real paaaaaaaaiiiiiiinnnnnn compared to vue IMO. I really enjoy using vue but not react, not at all !
@autogenes
@autogenes Жыл бұрын
Why's that? (I need to know ^^)
@MrKasoa
@MrKasoa Жыл бұрын
@@autogenes The syntax is way more complexe on react and I don't get why. Everything seems so easier on Vue. Understanding of concepts and writing them.
@rememberme2170
@rememberme2170 Жыл бұрын
True
@moathdw910
@moathdw910 2 жыл бұрын
It's funny how Vue developers act like children and scream when you speak anything against Vue I am working on Vue now at my new company but I used to work on react and I still in love with react I think it's lighter and better
@stackingflow
@stackingflow 2 жыл бұрын
How is your accent so good?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Grew up in America 👀
@stackingflow
@stackingflow 2 жыл бұрын
@@SuboptimalEng Nice. Is vue easy to learn as compared to react? Do you think its easy to pick up react when you already know vue. I got some recommendations to learn vue first (as its easier to learn) and then react would become so much easier to learn. Is this really the case? Actually I want to work on a project and I have limited time. So i want to learn as fast as possible. Project is not that complex. Its kind of a paid blog site. Where user get a monthly subscription and enjoy the blog posts. So basically a cms for blog and user management + stripe/paypal for payments. On the internet I have read about the comparisons. Some of the points I noted 1. React is different to learn 2. Vue is enjoyable 3. Vue is easier to learn 4. Reacts need lots of experience 5. When I search KZfaq - Its filled with react content 6. React is used by FAANG, Vue is used by small/international companies 7. React has high demand and job opportunities I want your 2 cents about my use case.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
@@stackingflow Hey thanks for the question! If I could go back in time and change what I did this year, I would have focused on React even though it is harder to get started with than Vue. The main reason is that React had more community support for JS libraries (and more tutorials on KZfaq and Dev.to). In my recent "LeetCode Clone" video, I was able to get up and running with the project in 1 day due to the helpful resoures and NPM libraries that React had for CodeMirror. When I was working with CodeMirror in Vue for my "Minimal Markdown Editor", I spent unnecessary time trying to find helpful resources for a few days. Looking back, Vue is still easier to learn as a base framework. I spent way more time understanding React/Redux state mangement and Hooks than I did with Vue/Vuex. But React makes up for it with super useful community support on other packages. My recommendation would be to learn React with Hooks, then get a basic understanding of Redux and dive into Next JS. This should give you a good start to build the project mentioned.
@stackingflow
@stackingflow 2 жыл бұрын
@@SuboptimalEng thanks. I think react is the way to go. Now
@veracsthedefiled
@veracsthedefiled 2 жыл бұрын
React has re-rendering issues, and a lot of boilerplate/complex code, Vuex is much more simple than something like Redux
@pouzar11cz
@pouzar11cz Жыл бұрын
Vuex is dead. Use pinia.
@vincentwang441
@vincentwang441 2 жыл бұрын
Okay, I will mention one thing to have it better in your mind, that FB is not a generous or welfare company that will always give you free usage of React.js. You are going to pay for your selection. When that day comes, it's not about your loss of several weeks' time, it is about your LIFE OR DEATH of your already successfully built company. Wish that day never come, but who knows? Better you are a lucky guy. But I am not going to put my freedom to SOMEONE's hand, not to mention FB.
@luckyardhika3781
@luckyardhika3781 8 ай бұрын
imagine if html is not free to use anymore
@jonagoat
@jonagoat 10 ай бұрын
4:30 Sorry, your math isn't mathing. 2 hrs per week * 52 is 104 hours or 4.25 days per year, not 3 weeks. ;)
@aslamh
@aslamh 2 жыл бұрын
I'm also planning to migrate all my projects from vue2 to react as vue2 will no longer be supported at the end of 2023. I'd rather learn react than vue3.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
I do like the fact that React is very backward compatible.
@trenxee1165
@trenxee1165 Жыл бұрын
8:41 Wrong thinking, you'd have said the same "good thing" about Angular not many years ago, that it is popular so it stays popular, it didn't
@zigggen
@zigggen 2 жыл бұрын
In india, all courses are in english. I haven't seen any documentation in hindi when i was in india. India is a the country where binary code was discovered. Be respectful 🙏🏻
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
I'm from south India 😁
@zigggen
@zigggen 2 жыл бұрын
@@SuboptimalEng 🤣 who can write hindi documentation for such framework
@xamantiwari
@xamantiwari 2 жыл бұрын
Actually in fact english is much easier than hindi
@vivekascoder
@vivekascoder 3 жыл бұрын
😂, love the video, but it can't be in Hindi. Because we just speak Hindi, rarely write
@SuboptimalEng
@SuboptimalEng 3 жыл бұрын
That’s a good point, I’ve only ever seen libraries in Chinese, never in Indian languages 😂
@PabloGnesutta
@PabloGnesutta 10 ай бұрын
First mistake in the first two minutes. Vue doesn't COME with vuex or router, you opt to install them or not. Vue just proves a convenient way of installing those when you initialize the project
@offgridvince
@offgridvince Ай бұрын
Pinia is the way to go now
@wilsonwg
@wilsonwg 2 жыл бұрын
TS support is also the main reason that I switch to Vue.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Oh interesting 🤔
@markjoi8298
@markjoi8298 2 жыл бұрын
Now vue supports typescript
@XRENDERMAN
@XRENDERMAN 2 жыл бұрын
From a business standpoint rewriting everything just doesn't make any sense. Of course, you can start your NEW projects with react.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Totally agree, unless you are the sole developer of the project like me 😅
@asiacuisine4869
@asiacuisine4869 2 жыл бұрын
Only companies 'switch'. Developers don't 'switch'. They should be open to different frameworks, unless u are not a front-end specialist and has no time to pick up too many things.
@Caedin8
@Caedin8 2 жыл бұрын
I think you are completely wrong about tests. Writing tests reduces the total amount of time you need to write complete code.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
I think it depends on the size of the product and who it aims to provide a solution for.
@ChronicWhale
@ChronicWhale 2 жыл бұрын
Vue3 is entirely written in typescript..
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
It’s TS support is still not as good according to the internet 🤷🏾‍♂️
@FNXTproductionz
@FNXTproductionz 2 жыл бұрын
@@SuboptimalEng That's simply not true. I am using Vue3 with TS on daily basis and there are no issues with TypeScript.
@NN-qj4sk
@NN-qj4sk 2 жыл бұрын
@@FNXTproductionz that’s not true
@FNXTproductionz
@FNXTproductionz 2 жыл бұрын
@@NN-qj4sk What is it, that you find out problematic?
@zayne-sarutobi
@zayne-sarutobi 5 ай бұрын
That's definitely not true. I still have a few TS issues with Vue3 occasionally... And it sucks tbh
@lakshmichaitanya1316
@lakshmichaitanya1316 3 жыл бұрын
IDK what to comment.
@Greazer
@Greazer 2 жыл бұрын
Svelte #1
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Svelte is the new kid on the block 👀
@hartacc
@hartacc 2 жыл бұрын
I`m using Vue and Nuxt, and still gonna use that, simply because I don't work for other people. If you want to work for other people for the rest of your time choose React. It is build for that.
@mises1615
@mises1615 Жыл бұрын
Why you didn't use Vue 3? Vue 3 is based on typescript! Sometimes, libraries that are connecting other libraries with your app are dying because they are no longer need. Right now, you won't use vuex/pinia in Vue 3 because Vue 3 by itself provide its own simple state management. There is no such a thing like Vue-Firebase because Firebase 9+ is so much better design that it no longer needs any middle connection library. Just check are library is written in JS or TS and use it!
@qbcd
@qbcd 2 жыл бұрын
use the new nuxtjs
@godmode9281
@godmode9281 2 жыл бұрын
remember react is not reactive like vue , react enforces immutability
@karlgrittner6334
@karlgrittner6334 2 жыл бұрын
How many job offers do you get from your youtube channel ?
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
None so far 🥲
@stephenyin3509
@stephenyin3509 Жыл бұрын
Lots of vue projects' docs are written in Chinese, even in issues most people asking questions in Chinese. This is extremely common in Chinese community, as mentioned in the video. most people don't have a solid English background and prefer to use mother language. So...just switch to React, better and larger English community. 许多 vue 的开源项目文档什么的都是用中文写的, 国内很多开发者是没有很好的英文背景的, 也不会去考虑英文用户如果遇到问题怎么办. 甚至 issue 里都是用中文讨论的. 那作为只说英文的开发者而言肯定是很痛苦...尤其如果这个库还算是很多人用的那种...你说你遇到问题怎么办? 文档是中文, issue 里的讨论也是中文, 你用英文提个 issue 还可能半天没人理, 玩个毛! 所以换 React 是明智的. 不是说 vue 不好, 视频里提到的这个我觉得还算是蛮大的痛点. 现在汉化做的挺好, 那希望国内出品的一些开源产品的英文化也能好一些.
@vigneshkumarganesan1529
@vigneshkumarganesan1529 3 жыл бұрын
Hey dude who told Indians have only Hindi and I am Tamil speaking Indian 😅
@SuboptimalEng
@SuboptimalEng 3 жыл бұрын
I can only speak Telugu fluently 😂
@jaredkeown
@jaredkeown 2 жыл бұрын
McDonald's vs McDowell's
@HSBTechYT
@HSBTechYT 2 жыл бұрын
No one launches npm package in Hindi imo 😂😂
@HSBTechYT
@HSBTechYT 2 жыл бұрын
95% of developers in India speak English
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Haha ya it was a joke. I made it cause I had to watch Pokémon in Hindi growing up 😂
@HSBTechYT
@HSBTechYT 2 жыл бұрын
@@SuboptimalEng I saw your KZfaq bio later and figured you are Indian imo
@JEsterCW
@JEsterCW 2 жыл бұрын
@@HSBTechYT terrible english* except author of this video
@robyroby162
@robyroby162 Жыл бұрын
I'm sorry but no one serious would ever make an acquisition call on a product based on whether the front-end was written in react or vue.
@tibortakacs177
@tibortakacs177 2 жыл бұрын
"You do not want to be slowed down by things like writing test..." This is how "ah, my business collapsed because we could not scale" starts... Tlrd; I admit one can spend less time in testing when the business is small but the investment in testing comes back very fast also by small applications. TDD is not only for large corporation, it is actually more important for small companies because this is how your little application won't just randomly crash and you can spend your time in writing new features instead of patching the live environment.
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
I think testing is important, but not until one finds product-market fit and achieves a specific amount of monthly recurring revenue. What's the point of writing tests for a product no one (or
@tibortakacs177
@tibortakacs177 2 жыл бұрын
@@SuboptimalEng I agree with you that a less mature product requires different testing strategy than the one with many users and more intense usage. I think it is important to differentiate the proof of concept implementation from an actual product whatever small it is. I agree that the former one does not need to be tested at all, it is about verifying an idea as fast as possible. But once it is published to wider audience, the usage of application is out of our control and we can only ensure that it works relatively reliably if there are some level of automatic tests in place.The point of automatic testing is about scaling and reliability, and they (or at least the latter one) are also important for businesses that have just started. An untested product can harm the user experience significantly and therefore it can be the cause why people do not use it.
@SpaghettiRealm
@SpaghettiRealm 2 жыл бұрын
@@tibortakacs177 totally agree with you, tests give you the confidence to add new features without breaking existing one, a lot of devs seems to use TDD the wrong way though like DDT!!
@yurytynyanskiy2370
@yurytynyanskiy2370 2 жыл бұрын
TL;DR; I switch to React because it is more popular. Personally, I don't think it is a good argument. React wasn't so popular from the begging. Who knows what it will be popular in 2 years(when your startup will be ready for hiring)
@SuboptimalEng
@SuboptimalEng 2 жыл бұрын
Yea that’s a good point. Who knows, svelte might take over 🤔
@gerhardengel844
@gerhardengel844 2 жыл бұрын
silly things. Thank me later :)
@ericjhuneespa3381
@ericjhuneespa3381 2 жыл бұрын
i use angular
What Vue.js Does Better Than React
24:29
Harry Wolff
Рет қаралды 37 М.
The Best Tech Stack for Web Developers
18:36
Suboptimal Engineer
Рет қаралды 69 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 522 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,7 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4 МЛН
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 308 М.
What are my thoughts on Vue3
25:21
Web Dev Cody
Рет қаралды 10 М.
Trying Vue.js for the First Time
11:59
Ben Awad
Рет қаралды 312 М.
What is WebGPU?
14:09
Suboptimal Engineer
Рет қаралды 59 М.
React vs Angular vs Vue: What to Choose for Your Next Project
11:40
Programming with Mosh
Рет қаралды 191 М.
Vue vs React (2024) - Make a RIGHT Choice (Difference Explained)
10:31
Daniel Dan | Tech & Data
Рет қаралды 28 М.
React explained for Vue developers in 7 mins
7:48
Justin Brooks
Рет қаралды 14 М.
Ranking The Most Popular Javascript Frameworks 2023
24:43
developedbyed
Рет қаралды 155 М.
The Difference Between Vue and React
10:27
Lachlan Miller
Рет қаралды 31 М.
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Как слушать музыку с помощью чека?
0:36
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,2 МЛН
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 17 МЛН