Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
React学习手册
by
Alex Banks
,
Eve Porcello
December 2017
Intermediate to advanced
329 pages
6h 9m
Chinese
China Electric Power Press Ltd.
Content preview from
React学习手册
10
|
第
1
章
ly/1O5DTlX
)进行安装,同时用户可以将它作为插件安装到
Firefox(
https://mzl.
la/2mMVgi5
)
浏览器上。
图
1
-
2
:使用开发者工具浏览相关元素
如果用户发现
react-detector
或者
show-me-the-react
处于激活状态,那么可以打开开发
者工具了解该网站采用
React
技术的详细情况。
安装
Node.js
Node.js
是
JavaScript
独立于浏览器的运行环境。该运行环境可以用于构建全栈式的
JavaScript
应用。
Node
是一个开源项目,可以安装在
Windows
、
macOS
、
Linux
,以及
其他平台。我们将会在第
12
章搭建
Express
服务器时用到
Node
。
用户不需要通过
Node
来使用
React
库。不过当使用
React
进行开发时,用户需要使用
Node
包管理器(即
npm
)来安装项目依赖。它是安装
Node
过程中一起自动安装的。
如果你不能确定自己的电脑上是否安装了
Node.js
,那么可以打开终端或者命令行窗
口,然后输入如下命令:
$
node -v
Output: v7.3.0
理想情况下,用户应该会得到一个高于
4
的
Node
版本号。如果用户输入上述命令之后
获得了“
Command not found,
”这样的信息提示,那么说明该用户机器上还没有安装
Node.js
。解决的办法也非常简单,用户直接用浏览器打开
Node.js
官方网站(
http://
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.
Start your free trial
You might also like
React快速上手开发
Stoyan Stefanov
流畅的Python
Luciano Ramalho
C++语言导学(原书第2版)
本贾尼 斯特劳斯特鲁普
C++程序设计:原理与实践(基础篇)(原书第2版)
本贾尼 斯特劳斯特鲁普
Publisher Resources
ISBN: 9787519814236