设置
React 可以与编辑器、TypeScript、浏览器扩展和编译器等工具集成。本节将帮助你设置好开发环境。
🌐 React integrates with tools like editors, TypeScript, browser extensions, and compilers. This section will help you get your environment set up.
编辑器设置
🌐 Editor Setup
请查看我们的推荐编辑器并了解如何设置它们以与 React 一起使用。
🌐 See our recommended editors and learn how to set them up to work with React.
使用 TypeScript
🌐 Using TypeScript
TypeScript 是向 JavaScript 代码库添加类型定义的一种流行方法。了解如何将 TypeScript 集成到你的 React 项目中。
🌐 TypeScript is a popular way to add type definitions to JavaScript codebases. Learn how to integrate TypeScript into your React projects.
React 开发者工具
🌐 React Developer Tools
React 开发者工具是一个浏览器扩展,可以检查 React 组件、编辑 props 和 state,并识别性能问题。了解如何安装它,请点击这里。
🌐 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 编译器
🌐 React Compiler
React 编译器是一种可以自动优化你的 React 应用的工具。了解更多。
🌐 React Compiler is a tool that automatically optimizes your React app. Learn more.
下一步
🌐 Next steps
前往快速入门指南,了解你每天都会遇到的最重要的 React 概念。
🌐 Head to the Quick Start guide for a tour of the most important React concepts you will encounter every day.