
React
React is the library for web and native user interfaces. Build user interfaces out of individual pieces called components written in JavaScript. React is designed to let you seamlessly combine …
Quick Start – React
Quick Start Welcome to the React documentation! This page will give you an introduction to 80% of the React concepts that you will use on a daily basis.
Installation – React
You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you …
Setup – React
React Developer Tools is a browser extension that can inspect React components, edit props and state, and identify performance problems. Learn how to install it here.
React Reference Overview – React
Server APIs - The react-dom/server APIs let you render React components to HTML on the server. Static APIs - The react-dom/static APIs let you generate static HTML for React components.
快速入门 – React 中文文档
React 并没有规定你如何添加 CSS 文件。 最简单的方式是使用 HTML 的 <link> 标签。 如果你使用了构建工具或框架,请阅读其文档来了解如何将 CSS 文件添加到你的项目中。 显示数据 JSX 会让你把 …
Creating a React App – React
If your app has constraints not well-served by existing frameworks, you prefer to build your own framework, or you just want to learn the basics of a React app, there are other options available for …
React Versions – React
In 2023, we launched our new docs for React 18 as react.dev. The legacy React 18 docs are available at legacy.reactjs.org. Versions 17 and below are hosted on legacy sites.
Build a React app from Scratch
If your app has constraints not well-served by existing frameworks, you prefer to build your own framework, or you just want to learn the basics of a React app, you can build a React app from scratch.
创建一个 React 应用 – React 中文文档
如果你想构建自己的解决方案,请参阅我们的 从零构建一个 React 应用 指南,该指南提供了如何使用 Vite, Parcel,或 RSbuild 等构建工具设置新 React 项目的说明。 如果你是一个框架开发者,希望在 …