国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

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

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

怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

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, 分治的管理,數(shù)據(jù)與view的一體化。它只有一個(gè)中心,發(fā)出狀態(tài),渲染view,對(duì)于虛擬dom它并沒(méi)有提高渲染頁(yè)面的性能,它提供更多的是利用jsx便捷生成dom元素,利用組件概念進(jìn)行分治管理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.

過(guò)去多啦不再A夢(mèng)

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只是一個(gè)組件庫(kù),自身不包含http請(qǐng)求,前端路由功能,支持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