Skip to Content
Node与Express开发(第2版)
book

Node与Express开发(第2版)

by Ethan Brown
June 2021
Intermediate to advanced
290 pages
9h 21m
Chinese
Posts & Telecom Press
Content preview from Node与Express开发(第2版)
单页应用
|
171
16.2
 
SPA
技术选择
现在有很多种
SPA
技术可以选择。
React
目前,
React
似乎是
S
PA
的“掌权者”,尽管一边是赫赫有名的前霸主(
Angular
), 另
一边是虎视眈眈的后来者(
Vu
e
)。大约在
2018
年,
React
在使用量统计上超过了
Angular
。
React
虽
然是一个开源的库,但最初是作为
Facebook
的一个项目起步的,现
在
Facebook
仍是它的活跃贡献者。对草地鹨旅游的重构将使用
React
。
Angular
大多数人认为,谷歌的
Angular
是
“最初”的
SPA
,它虽然曾经风靡一时,但后来还是被
React
拉下了
宝座。
2014
年年底,
Angular
发布了版本
2
,其对第
1
版进行了大幅度的重
写,此举疏离了很多已有的用户,也让新用户望而却步。我相信这次版本迁移是
React
最
终能超过
Angular
的其中一个原因
。另一个原因是,
Angular
是一个比
React
庞大得多的
框架。框架庞大既有优势也有劣势:对于构建大而全的应用,
Angular
提供了更完整的架
构,而且不管做什么,总会有清楚的“
Angular
方
式”,但也正因如此,它不像
React
和
Vue
等其他框架中很多东西可以取决于用户的个人选择和创造力
。不管哪种
SPA
框架更
好,更大的框架演化起来就会更笨重、更缓慢一些,相比之下
React
就有了创新上的优势。
Vue.js
Vue
是
React
的
“后进者”,最初由一名叫尤雨溪(
Evan You
)的开发者创建。在极短
的时间内,
Vu
e
就收获了无数的追随者,他们将其视若珍宝。不过
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

面向对象的思考过程(原书第5版)

面向对象的思考过程(原书第5版)

马特 魏斯费尔德
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115565099