angular.js - What is the difference between reactjs and angularjs? ? ?
怪我咯
怪我咯 2017-05-15 17:13:02
0
5
680

Are the application scenarios of reactjs and angularjs the same?
I know that angularjs is a framework designed for single-page applications. Is reactjs also designed for single-page applications?
Nowadays, front-end development tends to use single-page applications. Are there any benefits of single-page applications?

Front-end novice asks for advice from experts

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(5)
迷茫

I see many people saying that React is a library, comparing it to Angular’s ​​framework, and then there is the issue of data flow, and I dismiss it.

First of all, I think React is a change in thinking compared to Angular. It is not a library, but a development concept, componentized, 分治的管理,数据与view的一体化。它只有一个中心,发出状态,渲染view,对于虚拟dom它并没有提高渲染页面的性能,它提供更多的是利用jsx便捷生成dom元素,利用组件概念进行分治管理Every part of the page (such as header section footer slider), this is the future trend. But I didn't say that other tools besides React can't do this.

小葫芦

One is a library, one-way data flow. One is the framework, two-way binding.

过去多啦不再A梦

ReactJS is just a UI library and needs to be coordinated with other third-party tools. AngularJS is a complete framework that has all the functions except the UI library.

刘奇

Same as above, it feels like react只是一个组件库,自身不包含http请求,前端路由功能,支持jsx,而angular is a large and comprehensive framework with various functions, but the degree of freedom is low

刘奇

The work I am doing is to rewrite an Angularjs application with Reactjs. I think the problems solved by Angular and React are all aimed at the development process. In terms of application scenarios, the problems solved by Angular can definitely be solved by React, but Angular provides a relatively complete solution. If React is used and peripheral related technologies such as React Router are used, the effect will be similar. In fact, it can also be done with other frameworks, or even with jQuery or even without a framework or library. Of course, development efficiency, scalability, and maintenance costs need to be considered before making a choice. As for single-page applications, I remember a great master said that as long as you don’t do SEO, you can use SPA as much as you want.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template