DEV Community

ofameh
ofameh

Posted on

React vs Angular

*React vs Angular
*

React is a javascript library for building user interfaces, with components as it’s basic building block, react breaks down complex sites into smaller reusable elements called components this makes it’s fairly easy to edit, write and use the code.

Angular is a front-end framework, using a model view controller concept (seperating an application into three interconnected parts: the view: what the user sees and interacts with | the model: where data is stored and logic is applied | the controller: the bridge between the model and the view i.e collects data from the view and updates the model).

React library and angular framework both have similar build patterns

  • They are used to develop single page sites, which updates the site in real time as the user interacts with it, other than the traditional means of updating and reloading the site.

  • They both employ reusable elements, react uses components as its basic building block, this structures the site and code in a way where it’s easy to view and edit, similarly, Angular employs a similar architecture that allows for reusable elements

  • Angular is backed by Google, while React is backed by facebook both backed by reputable firms ensuring continuous production.

With Similarities also comes differences;

  • React is basically Jsx- an extension of javascript while Angular primarily uses Typescript
  • In state management, Angular has it’s inbuilt model for that, while react developers have the flexibility to choose with the most popular being: Redux & contextApi

Summary: React is fairly easy and flexible to use, it’s great for basic, and intermediate sites and workflow but Angular has a better model in place to handle large workflow and dataflow.

If i were to choose a language, i will choose React.

If i were looking for a path to becoming a developer i will choose: https://hng.tech/internship

If i were looking for talent to hire, i will search:  https://hng.tech/hire

Ofameh Kanu | Frontend Developer : Html, Css, Javascript, React.js

Top comments (0)