Compared with angular React, atitit. react is the most reliable web ui componentization solution. reactangular
Compared with angular React, atitit. react is the most reliable web ui componentization solution.
1. componentization of React is the correct direction of web ui components. 1
1.1. Integrate html, css, and js self-contained components for easy reuse. 1
1.2. Compared with angular. Js ease of use 1
2. React problems and improvements: 2
2.1. Visualization templates are not easily supported by dw .. 2
2.2. html and js integration of components is based on js 2
2.3. Component attributes are dominated by js 2
To be honest, react is currently the most reliable web ui componentization solution.
Componentization of React is the correct direction for web ui Components
Integrate html, css, and js self-contained components to facilitate reuse.
The mvc mode is not encouraged. Or the components use mvc internally to separate the ui and js, but the whole page does not advocate mvc ..
Compared with angular. Convenient and easy to use Js
Author ::★(Attilax)> nickname: old wow's paw (full name: Attilax Akbar Al Rapanui Attila Akba Arla Panui) Chinese name: AI long, EMAIL: email@example.com
Reprinted please indicate Source: http://www.cnblogs.com/attilax/
React problems and improvements:
Visualization templates are not easy to get dw support ..
As a template, it is necessary to obtain support for visual Html ide such as dw ..
Improvement Suggestion: Use html files as components, and small components can be read and loaded using ajax, so that the components can facilitate dw design .. Large components can be loaded using ajax or iframe ..
The integration of html and js components is based on js.
The component attributes are mainly js-based.
This leads to debugging of viewing attribute values. If you can extend attributes on html tags, debugging is convenient. After all, the browser can view the attribute values at a glance.