React vs Angular: Which one should you learn?

React vs Angular: Which one should you learn?

Hey! I just wanted to make a quick video explaining my recent experience with react js. So I’ve been learning react js over last couple of days and I haven’t got very far but I’ve learned a bit about it and I’ve created a couple of web apps with it and I just wanted to share my thoughts and what I think about it and compare it to angular 2 which is something else that I’ve learnt that I’m pretty new to. So everyone always says you can’t compare react to angular 2 but I think that’s rubbish because I know one’s a library – react is a library – and angular 2 is a framework. But that doesn’t mean you can’t compare them because if you were to build a new app you would choose react or angular or a number of other different options but you wouldn’t build an app with both of them at the same time. You would be choosing between one or the other. So I think you can compare them. I think it’s quite fair to compare them. But yeah they both have their pros and cons and they’re both good for different types of projects I guess. So originally I learnt angular 1 as kind of the first web framework that I learnt, and I did that quite heavily at a previous job and I thought that the next logical step would be to learn angular 2 when it came out because, you know I don’t want to learn something completely new from scratch. But it turns out that angular 2 is completely new from scratch. It’s completely different from angular 1. So at that point you’re basically learning something completely new. I thought well maybe I should consider react js. And so, yeah I got through learning angular and enough to kind of know what it’s about. I know that it’s primarily focused around the command-line interface and it also is in in typescript, it’s quite nice to work in typescript as well. But again it’s kind of like typescript – you’re practically learning a new language. I know it’s very similar to JavaScript but it’s still a new thing to learn, it’s another extra thing that you need to learn. Where as react is a bit easier to pick up I found compared to the other one. It has a basic command-line tool I think it’s create react app which is really cool because it lets you get an app up and running really quickly. So it kind of has that for the CLI. But everything else you basically have to do on your own which I actually prefer, I prefer doing things manually instead of using CLIs and things because I like to actually know what’s going on under the hood. So one of the issues I’ve had learning react in the last couple of days is that I wasn’t really sure what’s going on. What is this web pack that it’s using? Because if you use the create react app CLI tool then it creates all of this stuff for you and don’t even see the config files for web pack and things that it uses behind the scenes. It all does that in the background and it just kind of gives you an app that’s running. And I like to know how it’s working so it took me a little while to figure that stuff out but then once I did, I found that react is a lot nicer to work with. I prefer the lightweightness of it – if that’s a word? It’s a lot more lightweight than angular 2 at least and this is because again angular 2 is a framework so angular 2 comes with everything that you need more or less to build a working app whereas react you’re going to need to you know if you want to do URL routing you’re going to need to find your own URL router library that you can add. There’s a great one, I think it’s just react router that I’ve been using. So it’s very different. It’s a very different type of programming to angular versus react. But I like the way that in react because it is a library because it is only one piece of the puzzle when it comes to making an app you get to choose all the other things that you use with it. So it doesn’t come pre-packaged with a load of different tools and things in there that you may never even need to use. So that’s another benefit of react. But I was still kind of on the fence about both of these technologies. I wasn’t sure and I’m just continuously googling the popularity and things between the two and it turns out that…I’ll bring up a chart here and just minimize me. And it turns out that react is actually getting really popular now. Atleast on this chart, this particular chart, which I believe looks at the different jobs that are out there for the different keywords. You can see that react just shot right up here. It’s exceeded that of angular js and I’ve put Vue there because it’s apparently getting popular as well. But nowhere near as popular as react. So yeah given that its popularity is shooting up I think that I’m going to stick with react. But the real deciding factor for me was react native. Now I never even heard of react native before I started learning react and while googling I found this react native and it’s just an amazing framework that you can use to build basically native apps using javascript. And I felt strongly for quite a while – I used to use ionic, which is the angular version of of react native. So ionic framework is the one that basically packages your angular app as a kind of web app and it runs it in on mobile apps in a webview. So you’re basically running a website in a webview. And it is really good I played around with quite a lot and it’s really useful to be able to rapidly build apps using javascript and HTML and stuff. And then have them run on the website. But you could always tell with ionic that there was some performance…there was definitely a performance difference. Little things like scrolling just felt differently when doing in the web view versus doing it natively in a native app. But finding react native, it basically compiles your app to native code and if there’s parts of your app that you want to use or write in Swift or you want to write in Java if you’re doing Android then you can do that using react native and you can kind of interchange the native code and the JavaScript code. I just think that is really powerful and it’s going to be really powerful as react native gains traction and more people use it. And it just doesn’t make sense that these mobile apps need to be written in you know native language. So like if you’re a company and you want to build an app then hiring a swift developer or an iOS developer and an Android developer is going to be a lot more costly than just hiring a really strong JavaScript developer you can build a really nice app in react native. So I just think it’s really powerful and I think that overall given that I’m not, you know I’m not going to sell myself as a highly experienced front-end developer, I’m mostly focused on the back-end stuff but I do have a fair bit front-end experience and from what I’ve seen it just makes sense that react native would take off and that it’s going to be a big thing because it’s just so powerful. And yes so that’s my thoughts on it. I definitely at the moment I’m favoring react I would love to hear your thoughts on it so if you have an opinion I know lots of people have strong opinions about this one way or the other so I would love to hear that in the comments and I’d love to hear your feedback on it. Thanks for watching and I’ll see you next time.

30 thoughts on “React vs Angular: Which one should you learn?”

  1. Hey, dude! I really enjoyed your video. It helped me a lot to clarify a bunch of things here. I'm starting to program in js for web dev and I come from a C, C++ and Python background. So.. in your opinion, coming from those languages, what would be the best fit for me if I'm trying to develop a front-end for a web application in my start up? I'm REALLY confused if I go for Angular or React. I already did a lot of googling but it's so hard to choose. Anyways, thx for the good material =)

  2. Thanks for taking the time to make this vid. As a relative novice, choosing a way to go with JS is not short on choices, but I had settled on either Angular/Ionic or React for mobile app dev. You helped make that choice a little easier. (React won!)

  3. Jobs:
    Google Trends:,angular%202,vue.js

    Conclusion: It seems that Angular 2 is more popular than React.js ?

  4. Typescript is a superset of js, meaning just pure js plus others. u can just write pure js without bothered!
    React just dealing w/ view part of html only.. angular dealing w/ almost everything of html out-of-the box! views, routing, http, animations, even backend services!

  5. Dude, you are comparing AngularJS with React on the HOT trending apps of 2017 and deciding on React and Angular 2 ? Seriously (-_-)

  6. Hi. Currently I am using angularjs 1 on ionic 1. I started the project beginning of this year. pretty disappointed that the new version came midway. I still have no idea what ES6 and typescript is. I use laravel as my backend. My disappointment with Angular is that the newer version came in too rapidly. They even came up with Angular 4 recently. Angular 1 is still my favorite. I dont like the way react tries to bring HTML into javascript. Prefer them both to be separated. But I can see the things that vexed me would eventually be the main reason people migrating to react.

  7. how you think about this, it combines Angular2 and React Native。

  8. Try to show you Check react vs angular js difference (

  9. Nice one mate. I'm trying to learn react-redux and it's good to know which way to go. You did mention at the beginning that it depends on what you're building. Where would you use either?

  10. You are comparing React with AngularJS (this is the Angular 1.x version), you must compare it with Angular (This is 2+ verrsion), because most people are switching From AngularJS to Angular and that why you see the popularity of AngularJS drops!

  11. I'm exactly where you are right now, did a whole lot of AngularJS (Angular 1.x if you will) and 'am getting started with Angular ( > 2) while debating with myself if I should look at React. With Angular, I get a bunch of bloatware that I may or may use in my app, but the fact that I don't have to go looking for a bunch of 3rd party solutions when I do need to use some of those features is a gain in my book. That said, I'm still on the fence on this one

  12. I think you've solved my problem between choosing Angular and React. I am still a beginner, but I wanted to learn a framework or library that could easily integrate a native language and javascript for better performance. Thank you for this video!

  13. Hi Mark, Thanks for sharing your thoughts on React vs Angular. When it comes to choosing between the two, I took a more practical approach. I started job searches for "react" and "angular" in my area. Angular job openings out numbered React jobs 10 to 1. So choosing Angular was a no-brainer for me.

  14. i'm learning react can you please suggest a good plan to do it ant courses or tutorials that might help and not confuse me thanks a lot for your videos

Leave a Reply

Your email address will not be published. Required fields are marked *