Atitit. React & #160; & #160; compared with angular & #160; react is the most reliable web ui componentization solution, reactangular

Source: Internet
Author: User

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.

1. Componentization of React is the correct direction for web ui Components1.1. 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 ..

 

1.2. 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: 1466519819@qq.com

Reprinted please indicate Source: http://www.cnblogs.com/attilax/

 

2. React problems and improvements:2.1. 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 ..

 

2.2. The integration of html and js components is based on js.

This results in poor visual interface design .. Javascript should be embedded on the basis of html dom .. Js itself is the code, and the visualization requirements are relatively low .. Dom labels use a commonly used class to add a special oocss class to indicate the type of a component, composite component, or an extended attribute ..

 

2.3. 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.

 

 

A browser redraws a webpage at a frequency of 60 FPS (16 ms/frame). JavaScript cannot perform DOM operations within 16 ms, so a frame jump is generated. This is why the user experience is not smooth and coherent.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.