Skip to content

docs(cn): translate learn/setup into Chinese #1669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/content/learn/setup.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
---
title: Setup
title: 配置
---
<Intro>

React integrates with tools like editors, TypeScript, browser extensions, and compilers. This section will help you get your environment set up.
React 可与编辑器、TypeScript、浏览器扩展和编译器等多种工具集成。本节将帮助你完成环境的配置。

</Intro>

## Editor Setup {/*editor-setup*/}
## 编辑器配置 {/*editor-setup*/}

See our [recommended editors](/learn/editor-setup) and learn how to set them up to work with React.
请参阅我们的 [推荐编辑器](/learn/editor-setup),了解如何配置它们以与 React 协同工作。

## Using TypeScript {/*using-typescript*/}
## 使用 TypeScript {/*using-typescript*/}

TypeScript is a popular way to add type definitions to JavaScript codebases. [Learn how to integrate TypeScript into your React projects](/learn/typescript).
TypeScript 是一种为 JavaScript 代码库添加类型定义的流行方式。[了解如何将 TypeScript 集成到你的 React 项目中](/learn/typescript)

## React Developer Tools {/*react-developer-tools*/}
## React 开发者工具 {/*react-developer-tools*/}

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](learn/react-developer-tools).
React 开发者工具是一款浏览器扩展,它能够检查 React 组件、编辑 props state,并识别性能问题。在 [这里](learn/react-developer-tools) 了解如何安装它。

## React Compiler {/*react-compiler*/}

React Compiler is a tool that automatically optimizes your React app. [Learn more](/learn/react-compiler).
React Compiler 是一款自动优化 React 应用程序的工具。[了解更多](/learn/react-compiler)

## Next steps {/*next-steps*/}
## 下一步 {/*next-steps*/}

Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day.
前往 [快速入门](/learn) 指南,了解你每天都会遇到的最重要的 React 概念。