What are the main differences between AngularJS and ReactJS

I need to create a website that will be converted into a mobile application (what I want to build is more suitable for a website than for an application, so the building itself should be like a website).

Since I am more familiar with the desktop and Android developer community, I have gained very little knowledge about the development of the web client. After reading a little, I decided to use these technologies for the client side: HTML5, CSS3, Bootstrap, React.js

The problem is that I read that Angular is actually the full MVC framework, while React has a few more specific roles, and this is like comparing a car (Angular) to an engine (React). I have already seen comparisons regarding how to do some things with both technologies, such as hello world and event handling, and the like, so I donโ€™t need to know exactly how things like what they show on some comparison sites.

So my question is, what is the difference between what I can accomplish with Angular compared to React? If I use React, will there be things that I cannot do? When should I use one over the other? If I use React, can I create a fully functional client side?

I would like to emphasize that I do not want a personal opinion. I just want to get information about the development of the client and find out what I can and cannot do with them.

+7
javascript angularjs client-side reactjs
source share
2 answers

AngularJS is a complete framework, as you said, that is designed to write single page applications (SPA) using MVC design. ReactJS, on the other hand, is considered to be the only development of View, or, in other words, user interface components. In my opinion, Angular is quite difficult to learn, and React is a relatively small library, but React is faster for its virtual DOM (it does not manipulate the DOM directly if necessary). Also, the reaction can be used with other libraries for things like routing, but Angular already exists. I think you can create the same website using both technologies, although React is for the user interface, it can still have logic and large websites with it (e.g. Instagram and Facebook).

+3
source share

I think the main difference between Angular and React is that Angular uses two-way data binding, and React uses one way. Perhaps this article will make you more understandable: https://www.airpair.com/angularjs/posts/angular-vs-react-the-tie-breaker
PS I really donโ€™t understand why this question is underestimated ...

+2
source share

All Articles