You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React has been designed from the start for gradual adoption, and 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 get started.
7
+
React 从诞生之初就是可被逐步采用的,因此你可以选择性地使用 React 特性。不管你是想体验下 React,用它为简单的 HTML 页面增加交互,还是重新搭建一个由 React 驱动的复杂应用,本章节内容都能帮你快速入门。
8
8
9
9
</Intro>
10
10
11
11
<YouWillLearn>
12
12
13
-
*[How add React to an HTML page](/learn/add-react-to-a-website)
14
-
*[How to start a standalone React project](/learn/start-a-new-react-project)
15
-
*[How to set up your editor](/learn/editor-setup)
16
-
*[How to install React Developer Tools](/learn/react-developer-tools)
You don't need to install anything to play with React. Try editing this sandbox!
22
+
无需进行任何安装,即可体验:
23
23
24
24
<Sandpack>
25
25
@@ -35,21 +35,21 @@ export default function App() {
35
35
36
36
</Sandpack>
37
37
38
-
We use sandboxes throughout these docs as teaching aids. Sandboxes can help familiarize you with how React works and help you decide if React is right for you. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [Stackblitz](https://stackblitz.com/fork/react), or[CodePen](
To try React locally on your computer, [download this HTML page](https://raw.githubusercontent.com/reactjs/reactjs.org/main/static/html/single-file-example.html). Open it in your editor and in your browser!
If you're working with an existing site and just need to add a little bit of React, you can [add React with a script tag.](/learn/add-react-to-a-website)
If you're ready to [start a standalone project](/learn/start-a-new-react-project)with React, you can set up a minimal toolchain for a pleasant developer experience. You can also start with a framework that makes a lot of decisions for you out of the box.
Where you start depends on how you like to learn, what you need to accomplish, and where you want to go next! Why not read [Thinking in React](/learn/thinking-in-react)--our introductory tutorial? Or you can jump to [Describing the UI](/learn/describing-the-ui)to play with more examples and learn each topic step by step. There is no wrong way to learn React!
0 commit comments