Skip to content

Commit 9b7b5b3

Browse files
feat: Update creating-a-react-app.md (#1685)
Co-authored-by: Xavi Lee <xavilee2002@outlook.com>
1 parent 01145b9 commit 9b7b5b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/learn/creating-a-react-app.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ Next.js 的 App Router 还集成了 [使用 Suspense 的数据获取](/blog/2022
100100

101101
</DeepDive>
102102

103-
## Start From Scratch {/*start-from-scratch*/}
103+
## 从零开始 {/*start-from-scratch*/}
104104

105-
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 starting a React project from scratch.
105+
如果你的应用存在现有框架无法很好满足的限制,你希望构建自己的框架,或者你只是想学习 React 应用的基础知识,那么从零开始启动一个 React 项目还有其他可用的选项。
106106

107-
Starting from scratch gives you more flexibility, but does require that you make choices on which tools to use for routing, data fetching, and other common usage patterns. It's a lot like building your own framework, instead of using a framework that already exists. The [frameworks we recommend](#recommended-react-frameworks) have built-in solutions for these problems.
107+
从零开始可以给你更多的灵活性,但同时也要求你必须自己选择用于路由、数据获取以及其他常见使用模式的工具。这更像自己构建一个框架,而不是使用一个已经存在的框架。[我们推荐的框架](#recommended-react-frameworks) 为这些问题提供了内置的解决方案。
108108

109-
If you want to build your own solutions, see our guide to [build a React app from Scratch](/learn/build-a-react-app-from-scratch) for instructions on how to set up a new React project starting with a built tool like [Vite](https://vite.dev/), [Parcel](https://parceljs.org/), or [RSbuild](https://rsbuild.dev/).
109+
如果你想构建自己的解决方案,请参阅我们的 [从零构建一个 React 应用](/learn/build-a-react-app-from-scratch) 指南,该指南提供了如何使用 [Vite](https://vite.dev/) [Parcel](https://parceljs.org/),或 [RSbuild](https://rsbuild.dev/) 等构建工具设置新 React 项目的说明。
110110

111111
-----
112112

0 commit comments

Comments
 (0)