React VS Angular in 2020

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
to be honest it's not really fair that we compare apples with oranges but who told you that world is a fair place today we're going to compare angular with react let's get started now there is one very specific thing that you should know before watching this video this video is not about corporate I know and I can understand you might be having very specific need very specific benchmarking and performance issue that you really want to solve but this video is not about corporate this video is about students because students are in a problem they want to figure out which one is best for them and which one they can get started what problems to expect what problems not to expect so this video is all about students also I do have a preference in this video and you are totally allowed to disagree with my preference that's totally 100 percent fine but if you're gonna ask me tea or coffee I have a preference over tea you might be a big coffee fan but coffee works for me as well so I do have a preference keep that in mind usually such video ends with it depends but this video got some answers for you this stupid thing still charges like this but anyways it gives us some time to talk so let's go ahead and talk about react versus angular first and foremost prerequisites in the reacts aisle there is no much of prerequisite if you know JavaScript and I'm not talking about the basics of JavaScript you should be decent in JavaScript and especially things like what does arrow functions the spread operator and how it works the structuring of an object these are just basic common thing and you will be understanding them a lot but there is no apart groundbreaking thing a new thing that you have to learn surely there are new concept but as a prerequisite I would say if you know your JavaScript well then that's it that's all you got a need for getting started with react now when we move on to the world of angular you're gonna see that most of people write their entire angular code in typescript now typescript is nothing new and you don't need to scare too much about it if you know your JavaScript well then you can be shifted on to typescript within a week typescript helped us to write more error-free code and it's actually it actually pours out a lot of syntactic sugar here and there but don't get scared of working the typescript is as easy as moving from A to B it's really really simple but surely it gives a bit of mental stress that yes I got to learn a new thing to get started and I'll give you a fair advantage here that yes there are some syntactical thing and some things like decorators which is absolutely new and sometimes it takes a little bit time to understand and learn it so on the JavaScript side there is no predict I said on the angular side I would say not really a big deal but still you gotta learn typescript here now here is the most important thing if you are coming up from the react side you gotta hate the angular world if you are coming up from the angular world you gotta hate the react side no it's not just a fun statement we'd really like to truly each other and both community are very well supportive but it's a fun thing it's a fun on its own and we like to do it quite a lot now I have worked extensively on react for years and recently I got a chance to work on angular pretty thoroughly as well now here is the next thing that you really want to know which one is a smaller one again smaller simply means the concept why is every framework every library introduced a whole lot of concept so how many more concepts I'm gonna learn in react and how many concepts I'm gonna learn in angular reminding you again react is just a small library angular is a big gigantic framework the concepts in react are fairly small the core fundamental foundational concept of react can be learned within like 15 days or 20 days and that's it because it just is a small library there are a lot of things which are missing in the react not because it cannot be done we use third-party modules to achieve those things for example routing but in general if you just want to learn to react as a foundational concept I think a decent programmer can learn it within 15 days or 20 days on the other hand angular is a big gigantic monster we are not dependent on the angular much on the third parties for example routing or much more other things everything is built-in and cooked up in angular that means that you're gonna take some time to learn all the concepts of angular it's not really possible to understand the angular within 15 or 20 days it's probably going to take two months sometimes even more to understand fully that how the framework is architectured what is the best practice to write the code and what are all the features that it offers so again angular being big one so it takes time and react being bit a smaller one so it takes less time and there's smaller things to learn there the next obvious thing you might want to know that okay which one is easier to learn which one is tough to learn now again this always is a relative question for you lifting up 10 kgs is really a big deal for me 10 kgs is my warm-up set again it all depends but again I would say from experience in teaching thousands of students I would say react is much easier to learn for students and angular is little bit tricky to understand it's not really that much tough it just needs a little bit more time a few more examples to code out to finally understand the angular and I have also noticed that once people start to love angular and try to get a feel of it then they don't really want to get out of it it's a very comfortable zone in angular because everything is already cooked up and once you get a feel of it you kind of start liking it it's almost like the black coffee taste once you adapt to it you just want it forever on the other hand in the react its although very easy to learn but you got to learn third party things as well for example how the router is working or how the redux actually work on the side note Redux is available in both of them but I would still say that react is much more big nerd friendly to get started also want to make this point that it looks like from outside that the concept that you're going to learn in react are going to be useful in angular 2 but I don't find it much of the relevant term they are have their own architecture and the working style the working flow the code style that we write and the examples that we build out are fairly different and surely they help out with each other but I wouldn't give any extra advantage to one or the other on this point react is backed by Facebook and angular is backed by Google now on the one side we have Facebook which a lot of people hate because they track us and serve the ad and share the information on the other hand there is Google which a lot of people love because that company is not yet got caught for selling advertisements and breaching our person life again it all depends on them but here's the thing that you should know that both of them are selling advertisements and both of them are companies for profit none of them is doing this entirely for the charity they surely do their fair share of charities but again loving a project just because one company is backing it and other companies Vaca gather I think that's not a fair advantage both of these companies are notoriously known for shutting down the project because they couldn't make enough of profit from them or they just wanted to shut it down so again backing on this is not really good both of the project are fairly open source the reason for saying fairly open source because there is a lot of versions of these products which are used inside the company and those versions are not being shared with us of course for all good reasons they have worked hard on it the thing that they can make it open and public so that you can modify it on your own and can use to build another billion-dollar company that's actually a fair good advantage so don't think that this is backed by Google so this is rock-solid I have seen enough of projects from Google that are being shut down so many companies dependant on it and same is for Facebook as well so this is just like a point which I would like to just throw up in the garbage that one is backed by Google and one is by backed by Facebook a totally irrespective point to compare let's throw it out now doing an MVP on both of the project because what's gonna suit you best for that what is going to be the performance what is the benchmark which one is providing me the exact specific feature because my database is dependent on that are we are gonna able to build SPS on that both of them are actually very similar and up to neck on that now I'm not going to be doing specific benchmarking or performance optimization which one is better because you need it for your company probably I'll tell you how to do the MVP in some later on videos right now we don't want to go in those performance and all of that I would say here's my point which I would like to still make that there are a lot of cases in chances where angular is just like too big for a project if you want to build up a smaller application and you just want to have it like a portfolio project I wouldn't bring angular in that because it's too big off a framework to do so react being a smaller library and I can write of a modular code in that surely I would like to bring react for that in that in that case but this doesn't this is a point which can easily be me misinterpreted and saying that hey react is used for the smaller project if I have a big scale banking project I would love to use angular in that no that's not the fact react is still being used in a whole lot of a b2b application again both of them are really really neck to neck competition which one to choose in which were not to choose also now the problem in the angular which was like backward compatibility is no longer there so it's again a fair competition while doing the MVP which product is going to be sued best for your need if you are already having an application which is which are serving terms of my SQL queries or maybe MongoDB but that all MVP is for some another day this is not a video about that this is a video more over friendly towards students so coming on to the question that you have finished up your HTML and CSS and basics of JavaScript and you want to try your hands with either one of them which one should you get started and clearing up your confusion I would say that get started with react and also in the world especially in 2020 you are not considered as a front-end developer if you just know HTML and CSS the things are changed totally now and you are expected to have at least one knowledge on either react view or angular or something like that since this comparison is strictly towards just react and angular we are not talking about view here let's just say I just want you to say that start with the react and I have a very strong and solid reason for that when you get started with react you are introduced with some of the new concept which were not there in the front-end development especially handling of API managing the states and writing the optimized code so that your code doesn't really refresh again and again these are the concept which you learn more easily in react these concepts are there in angular 2 but they are much more easier to learn in the world of react now also another reason of saying that you should get started with react because react is smaller but I'm not saying that because it's smaller get started with that and saying it because you get introduced to so many of the third-party libraries that you get exposure to so much of the writing style of code one library does the routing in X way other than other do the same routing thing in Y way so you get exposure to writing variety of style of code and you learn how to read the documentation through a variety of sections this is good for you as a developer so that's why I recommend in the beginning that you should get started that react but that's not the whole story react is one of the favorite for all these startups and people who are trying to build a new product but you're going to also notice that people who do MVP especially that are having their back-end being designed in technology is related to Java or anything big they actually tend to love angular bit more so chances are high that a lot of you who are working already in corporate are now being told that you have to move in angular so instead of doing at that phase of life it's better that you get a fresh taste of angular beforehand so that you can quickly move in either of the technology very quickly and as I mentioned that angular is something which is like the black coffee once you adapt to the taste it's really hard to get away from that and all I'm saying that this is your student life so start with react finish it within a month or two months or three months or let's just say a semester and then the next one try your hands with angular as well it's not that bad as it gets its reputation from all the YouTube videos and the blog post it's a decent framework it's a good one surely a little bit bulky takes some time to learn but it's worth it I would recommend that go ahead and get started with react spend some time with it and at least also learn angular after that it's your student life this is the time where we call ourself as a student that means we want to learn as much as possible at the end of the day when you'll get job and your boss will say that hey we got a deep dive into this technology then we got to do it we will be end up doing the deep of one technology on one day or the other this is a student time explore it as much as possible this is your path start with react and move to the angular and also to all those people who are looking forward to do MVP on a product let's just say you are having a company or looking for a startup then you want to find out that which product can be the most valuable product for you either react or angular or maybe view what are the specification that we keep in mind what are the server loads are the loading time and what are the components we keep in mind while doing it what database you are having MySQL and node postgres what impact they do make on our product so how to do these kinds of MVP I would love to make a separate video on that if enough of people actually want to have that kind of video let me know in the comment section and I will do a separate video on testing out their benchmarking their scores and all the other github actions and all of these things so that for that is for some another day right now I think you got your answer but if you have any other different opinion from me I would love to know them in the comment section please help out other students so that they can get started without wasting too much of time in which one is the best for me oh yes I forgot one thing make sure you hit that subscribe button because we're gonna come up with more such videos and you're gonna enjoy them as well so hit that subscribe hit that like and I'm gonna catch you up in the next video yes I'm leaving now you can also leave or you are waiting for that awesome music at the end I'll throw that in so enjoy that [Music] okay
Info
Channel: Hitesh Choudhary
Views: 218,358
Rating: 4.8800817 out of 5
Keywords: Programming, LearnCodeOnline, react, angular, angular 9, react vs angular, reactjs vs angular in 2020, is react best, is angular best, react tutorials, angular tutorials, free angular course, free react course
Id: 9LNaQln11BA
Channel Id: undefined
Length: 14min 34sec (874 seconds)
Published: Mon Jun 15 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.