最近的一个项目,要做技术选型,把我整理的PPT原型拿过来贴上。
I. Comparison
Attribute | Angular | React |
---|---|---|
Author | ||
What is it | Superheroic JavaScript MVW Framework | A JavaScript library for building user interfaces and not only |
Language | TypeScript/JavaScript/HTML | JSX |
Licenses | MIT | MIT |
Latest Version | V6.0.0 | V16.3.1 |
Github Stars | 34831 | 92956 |
Github Contributors | 614 | 1177 |
Who using it | Google AdWords and Fiber Guardian YouTube |
Instagram and WhatsApp. Netflix Alibaba |
Dom | Regular DOM | Virtual DOM |
Learning Curve | Hight | Low |
Debugging General | Good JS/Good HTML | Good JS / Bad HTML |
Binding | Two-way | One-way |
MVC | Yes | View Layer Only |
Toolchain | High | High |
Building Mobile | Ionic Framework | React Native |
Fails When? | Run Time | Compile-Time |
Performance | Medium | High |
From:
II. Awesome features for React
- Declarative
- Virtual DOM
- Event handling
- JSX
- Performance(one-way data binding)
- Component-Based
- React Native
From:
7 Top ReactJS Features Which Makes It Best For Development
III. Github Stars
- http://www.timqian.com/star-history/#facebook/react&angular/angular&vuejs/vue
- https://github.com/facebook/react
- https://github.com/angular/angular
IV. Downloads for the given npm packages
- http://www.npmtrends.com/angular-vs-react-vs-vue-vs-@angular/core
- https://medium.com/unicorn-supplies/angular-vs-react-vs-vue-a-2017-comparison-c5c52d620176
V. Most loved in stackoverflow
VI. React ecosystem
- React – for web apps
- React Native – for native mobile apps
- React VR – for VR apps
- Relay – for data-driven apps
VII. AngularJS 将于 2021 年停止维护
自 2009 年诞生以来,AngularJS 为整个 Web 的发展做出了卓越的贡献,随着替代产品 Angular 在2016年的发布,AngularJS 已经不再被推荐使用。Google 官方宣布 AngularJS 即将发布 AngularJS 1.7 版本,并持续开发到 2018 年 6 月 30 日。随后 AngularJS 1.7 将进入 LTS 维护阶段,直到 2021 年 6 月 30 日结束。