Тёмный
No video :(

Why I'm Switching from Vue to React 

Suboptimal Engineer
Подписаться 24 тыс.
Просмотров 67 тыс.
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 245   
@SuboptimalEng
@SuboptimalEng 2 года назад
Hit me up on Twitter 🐦 twitter.com/SuboptimalEng
@jahwin
@jahwin 2 года назад
try vue 3
@offgridvince
@offgridvince 2 месяца назад
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 Год назад
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
@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 10 месяцев назад
then fight us, u got the wrong enemy😏
@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
@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 💗💙💛
@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.
@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.
@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 😅
@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 10 месяцев назад
its not render issue, its skill issue
@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!
@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.
@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!
@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
@joshcv3850
@joshcv3850 10 месяцев назад
I love Vue! Once I learned Vue, writing code in React seemed just obnoxious, especially in the setState/use state pattern.
@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!
@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 года назад
😆😆
@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 10 месяцев назад
i think reactjs has much cleaner syntax and logic, but vue is less code
@jakewantulok2040
@jakewantulok2040 2 года назад
I switched from React to Vue. Community support is wonderful actually. Vue 3 + Typescript is great. And, f*ck faang.
@PabloGnesutta
@PabloGnesutta Год назад
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 2 месяца назад
Pinia is the way to go now
@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?
@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.
@offgridvince
@offgridvince 2 месяца назад
Did u switch back yet? Nuxt 3 is amazing!! Nuxt 3.12 and 4 on the way...
@SuboptimalEng
@SuboptimalEng 2 месяца назад
I’m still using react.
@offgridvince
@offgridvince 2 месяца назад
@@SuboptimalEng ok cool
@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....
@randomtimessomehow
@randomtimessomehow 2 года назад
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 2 года назад
Thanks, Phillip! I'm glad to hear that my video resonated with your learning experience. Definitely recommend giving React a try!
@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.
@jonagoat
@jonagoat Год назад
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. ;)
@av8419
@av8419 Год назад
I 100% want JS in my HTLM :) I prefer Nuxt and Vue .
@lakshmichaitanya1316
@lakshmichaitanya1316 3 года назад
"hello, guys my name is enginner I make suboptimal content "😂
@SuboptimalEng
@SuboptimalEng 3 года назад
Was waiting for someone to catch that 😂
@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.
@deoarlo
@deoarlo Год назад
Exactly what I need now. Wow the accuracy
@JenuelDev
@JenuelDev 3 года назад
If vue improves, would you go back and use vue more?
@SuboptimalEng
@SuboptimalEng 3 года назад
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 💪
@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 10 месяцев назад
imagine if html is not free to use anymore
@rememberme2170
@rememberme2170 Год назад
None of these points are related to framework's syntax. In that area Vue is a clear winner.
@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.
@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
@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
@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
@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.
@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 10 месяцев назад
why peoples hate angular so much?
@MrKasoa
@MrKasoa 2 года назад
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 2 года назад
Why's that? (I need to know ^^)
@MrKasoa
@MrKasoa 2 года назад
@@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
@biliyonnet
@biliyonnet 2 года назад
I like vue's syntax.
@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".
@antonbilichenko1312
@antonbilichenko1312 2 года назад
Vue is more handy tool IMO
@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!
@_modiX
@_modiX 2 года назад
In how much things have changed, especially with Nuxt 3 entering the scene?
@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.
@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.
@PabloGnesutta
@PabloGnesutta Год назад
Vue 3 supports typescript
@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.
@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.
@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 2 года назад
Vuex is dead. Use pinia.
@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!
@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 7 месяцев назад
That's definitely not true. I still have a few TS issues with Vue3 occasionally... And it sucks tbh
@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 😅
@theanswer1993
@theanswer1993 2 года назад
And then you have Angular that has everything you mentioned but is a ton easier and better.
@velcro0004
@velcro0004 Год назад
Where in time did you get 3 weeks from? 2hr/week => 4.3days/year
@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.
@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
@northernlights2222
@northernlights2222 2 года назад
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 2 года назад
Yea, it was a joke but in retrospect, I shouldn't have included it. FWIW, I'm from India.
@tyroncole9877
@tyroncole9877 2 года назад
All front end frameworks are bad. I switched to the backend. I don't want to have to relearn everything every 6 months because some idiot decided to make yet another dumb framework.
@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
@sraulmartins
@sraulmartins Год назад
I liked the video and the comparison, but I'm still trying to understand what "International" vs "America" means at 7:35 :/
@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.
@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!
@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 🤔
@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.
@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
@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
@nightsurvivor
@nightsurvivor Год назад
thanks for the explanation
@godmode9281
@godmode9281 2 года назад
remember react is not reactive like vue , react enforces immutability
@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.
@ImDino
@ImDino 2 года назад
your name is engineer?
@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 😂
@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.
@asuramus
@asuramus 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.
@_rcs
@_rcs Год назад
Great video. Nice balanced argument.
@patrikkaprinay483
@patrikkaprinay483 2 года назад
really nice, well structured video!
@PatrykPadus
@PatrykPadus 2 года назад
Boilerplate code? Thx - no. I use Vue and Nuxt as next iteration over React and Angular
@glowiever
@glowiever 2 года назад
sounds suboptimal indeed
@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 RU-vid - 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 RU-vid 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
@MrAtomUniverse
@MrAtomUniverse 2 года назад
React for MVP might not be as fast unless you’re damn familiar with react :(
@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
@sasg87962
@sasg87962 2 года назад
Hello Engineer, My name is Developer
@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!!
@prashantmeena6137
@prashantmeena6137 2 года назад
Can i help you with your startup?
@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.
@Vladimir-eb8ve
@Vladimir-eb8ve Год назад
4:37 - I stopped here because I can assure that you never used Vue, at least Vue 3; Vue 3 is written entirely in typescript LOL. "Why I'm switching from Vue to React, because I never tried Vue" (real title 🤣🤣🤣)
@zayne-sarutobi
@zayne-sarutobi 7 месяцев назад
That's definitely it true... Being written in TS apparently doesn't translate to full TS support... Cuz I still experience a few TS issues with Vue3 and it ain't funny when it happens
@RustyNox
@RustyNox 3 года назад
Nice to know
@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 不好, 视频里提到的这个我觉得还算是蛮大的痛点. 现在汉化做的挺好, 那希望国内出品的一些开源产品的英文化也能好一些.
@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
@qbcd
@qbcd 2 года назад
use the new nuxtjs
@godmode9281
@godmode9281 2 года назад
hey if you don't know about something just don't say it there are more than 20 lang spoken in India and this is not like china we don't have only one lang that's why we use English not Hindi.
@SuboptimalEng
@SuboptimalEng 2 года назад
I’m Indian lol
@godmode9281
@godmode9281 2 года назад
@@SuboptimalEng but you don't know such a silly thing LL
@_nom_
@_nom_ Год назад
I'm sick of Vue. I managed to make vuex usable. But I'm not sure why they made it so chaotic.
@JuriBinturong
@JuriBinturong Год назад
no one uses Vuex anymore, it's Pinia now
@_nom_
@_nom_ 6 месяцев назад
​@@JuriBinturongThank god. 🤭
@Meleeman011
@Meleeman011 Год назад
community support is overrated, I'm significantly slower with react and typescript and I've never had a type error until I used typescript
@SuboptimalEng
@SuboptimalEng Год назад
Haha, and I never ran into a coding bug until I started programming 😂
@zayne-sarutobi
@zayne-sarutobi 7 месяцев назад
Got 'em!?😂😂🔥
@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 😂
@SergeiArbora
@SergeiArbora Год назад
"I cannot read chineese...". Can you use a translator? Tbh, working 2 years with Vue, I've never got into chineese readme. So you took your single case and generalized it to the whole ecosystem. Are you sure that's the way to go?
@cryptolicious3738
@cryptolicious3738 2 года назад
i dunno, vue3 and nuxt3 now released seem much better than react and what you are describind in this now 1 year old video.
@SuboptimalEng
@SuboptimalEng 2 года назад
I did mention that Vue could be a great contender in 2-3 years 😂
@cryptolicious3738
@cryptolicious3738 2 года назад
@@SuboptimalEng feel like im going to make the same web app in nuxt3 then flutter and then react just for fun. gotta catch up. been doing backend java and xml / xsl for 2 decades ! lol. the points about talent pool and VC exit if successful are strong points. i hate analysis paralysis 😂
@SuboptimalEng
@SuboptimalEng 2 года назад
@@cryptolicious3738 Recreating the same apps in different frameworks is always a good way to get a feel for them. I say go for it! Then you can make a video comparing all those technologies and profit on RU-vid 😂
Далее
The Best Tech Stack for Web Developers
18:36
Просмотров 70 тыс.
What Vue.js Does Better Than React
24:29
Просмотров 37 тыс.
Useful gadget for styling hair 💖🤩
00:20
Просмотров 2,1 млн
React или Vue или Angular. Что Выбрать?
19:52
The Story of Next.js
12:13
Просмотров 569 тыс.
The Difference Between Vue and React
10:27
Просмотров 35 тыс.
What is WebGPU?
14:09
Просмотров 62 тыс.
What are my thoughts on Vue3
25:21
Просмотров 11 тыс.
React vs Angular in 2024
9:00
Просмотров 46 тыс.
React explained for Vue developers in 7 mins
7:48
Просмотров 15 тыс.