React.js vs Angular vs Vue

                React, Angular and Vue are Modern javascript frameworks that used widely in the world. According to a survey carried out by stack overflow at the end of 2018, these 3 are the most popular frameworks in the world. If your new to javascript development and want to learn a framework it will be really hard to choose a one from these three because all these three are really good. So to make your selection easy let’s compare these 3 based on flowing categories.

  1.  Key Characteristic: To get a basic understanding of the different features of each framework.
  2. Popularity: This is really important if you’re looking for a job. You need to have an understanding of where the industry is moving.
  3. Performance: It always matters.

1.React

  • Extremely popular and used by many large companies like Netflix, Facebook, etc.
  • It’s a library for building and rendering component
  • Everything is in Javascript. So to work with HTML you need to use JSX. Ex:- instead of class property in HTML you need to use “className”.
  • Routing (React Router),  State Management (Redux), Http (Axios) has to be added manually. Thes are libraries that are provided by the community.
  • React is initially developed by Facebook. They still use it. So regular updates are coming which is a good thing.
  •  React is primarily used to build web applications but can be used to build mobile apps with react native. The plus point here is that you can transfer your react knowledge to build cross-platform mobile apps( yes, you need to learn few more things in the react native library) and you don’t need to know Android or swift for that.

2.Angular

  • Unlike React it’s not just a library it’s a complete framework. Everything (libraries to Route, State Management, Form validation, etc) is included in the framework itself. So you don’t need to rely on third-party libraries.
  • Can use web APIs, familiar HTML, and CSS
  • Angular was developed by Google and maintained by Google. So like React regular updates and support is there.
  • Can use to build mobile apps. But you need Iconic or  NativeScript for that.

3. Vue JS 

  • Extremely popular among the Developers but not used by many large companies.
  • A complete framework like Angular. Vue has a combination of most of the good features from both Angular and React.
  • Has the ability to use native HTML and CSS
  • Unlike React or Angular, no big company is there behind Vue. Developed by a former Google employee Evan You. Now the maintaining of the framework is done by a team lead by him.
  • Vue project is funded by the community. You also can donate to the project. And large projects like Laravel(a PHP framework) support the Vue project.
  • Routing and Stat management features are provided by the core development team. Other features are provided by the supporting community.
  • Can use to build mobile apps with Ionic.

How Easy To Get Start

1.React 

          React is pretty easy to get started.No complex workflow is there. JSX is optional.
Can be added to the existing web pages.
The main disadvantage in react is that if your building a single page web application you need to add a lot of key features manually.

2.Angular 

         Easy to get started because HTML and CSS are used in a well-known way. And also all the core features are included in the framework to build single page applications. The downside of the angular is that you need to learn TypeScript.You can learn it while learning Angular. But things like dependency injection is a little bit complex to learn. And also the project workflow is a little bit complex than react.

3.Vue

          In Vue, we can use HTML and CSS in a well-known way. Also, it’s possible to add Vue to existing web pages. The downside in Vue is also you have to install some libraries manually.

Popularity 

        If we consider the popularity from total npm downloads React rank first and Angular second and Vue is the 3rd. But Vue is a relatively new framework. So it doesn’t mean Vue is decline. Vue is still getting popular.

Conclusion

          All 3 frameworks are great. Among these 3 there is no clear winner. There is no better or worse one.  You can build the same type of apps from all 3 frameworks. If it’s possible it’s better you can look into all 3 frameworks. Then you can choose your personal favorite framework or the framework that suits your project.

Leave a comment

Start a Blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started