From 42a2e0035af31c812453eac7c3393d3d0357d881 Mon Sep 17 00:00:00 2001 From: Asurada <43401755+ousugo@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:43:18 +0800 Subject: [PATCH 1/3] Update creating-a-react-app.md --- src/content/learn/creating-a-react-app.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/learn/creating-a-react-app.md b/src/content/learn/creating-a-react-app.md index 6f18f54211..1670b6efd7 100644 --- a/src/content/learn/creating-a-react-app.md +++ b/src/content/learn/creating-a-react-app.md @@ -100,13 +100,13 @@ Next.js 的 App Router 还集成了 [使用 Suspense 的数据获取](/blog/2022 -## Start From Scratch {/*start-from-scratch*/} +## 从零开始 {/*start-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, there are other options available for starting a React project from scratch. +如果你的应用有现有框架无法很好地满足的限制,你希望构建自己的框架,或者你只是想学习 React 应用的基础知识,那么从零开始启动一个 React 项目还有其他可用的选项。 -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. +从零开始可以给你更多的灵活性,但同时也要求你必须自己选择用于路由、数据获取以及其他常见使用模式的工具。这更像自己构建一个框架,而不是使用一个已经存在的框架。[我们推荐的框架](#recommended-react-frameworks)为这些问题提供了内置的解决方案。 -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/). +如果你想构建自己的解决方案,请参阅我们的 [从零构建一个 React 应用](/learn/build-a-react-app-from-scratch) 指南,该指南提供了如何使用 [Vite](https://vite.dev/), [Parcel](https://parceljs.org/),或 [RSbuild](https://rsbuild.dev/) 等构建工具设置新 React 项目的说明。 ----- From 958eda8fbdaf2d5ec1114a70bdac90da21953c0e Mon Sep 17 00:00:00 2001 From: Asurada <43401755+ousugo@users.noreply.github.com> Date: Tue, 4 Mar 2025 00:29:57 +0800 Subject: [PATCH 2/3] Update creating-a-react-app.md --- src/content/learn/creating-a-react-app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/creating-a-react-app.md b/src/content/learn/creating-a-react-app.md index 1670b6efd7..036b70d988 100644 --- a/src/content/learn/creating-a-react-app.md +++ b/src/content/learn/creating-a-react-app.md @@ -104,7 +104,7 @@ Next.js 的 App Router 还集成了 [使用 Suspense 的数据获取](/blog/2022 如果你的应用有现有框架无法很好地满足的限制,你希望构建自己的框架,或者你只是想学习 React 应用的基础知识,那么从零开始启动一个 React 项目还有其他可用的选项。 -从零开始可以给你更多的灵活性,但同时也要求你必须自己选择用于路由、数据获取以及其他常见使用模式的工具。这更像自己构建一个框架,而不是使用一个已经存在的框架。[我们推荐的框架](#recommended-react-frameworks)为这些问题提供了内置的解决方案。 +从零开始可以给你更多的灵活性,但同时也要求你必须自己选择用于路由、数据获取以及其他常见使用模式的工具。这更像自己构建一个框架,而不是使用一个已经存在的框架。[我们推荐的框架](#recommended-react-frameworks) 为这些问题提供了内置的解决方案。 如果你想构建自己的解决方案,请参阅我们的 [从零构建一个 React 应用](/learn/build-a-react-app-from-scratch) 指南,该指南提供了如何使用 [Vite](https://vite.dev/), [Parcel](https://parceljs.org/),或 [RSbuild](https://rsbuild.dev/) 等构建工具设置新 React 项目的说明。 From e356dee29dacf8fe2ca6b5a5cdb1823becdbcbf4 Mon Sep 17 00:00:00 2001 From: Xavi Lee Date: Tue, 4 Mar 2025 09:10:33 +0800 Subject: [PATCH 3/3] Update src/content/learn/creating-a-react-app.md --- src/content/learn/creating-a-react-app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/creating-a-react-app.md b/src/content/learn/creating-a-react-app.md index 036b70d988..691be66dc7 100644 --- a/src/content/learn/creating-a-react-app.md +++ b/src/content/learn/creating-a-react-app.md @@ -102,7 +102,7 @@ Next.js 的 App Router 还集成了 [使用 Suspense 的数据获取](/blog/2022 ## 从零开始 {/*start-from-scratch*/} -如果你的应用有现有框架无法很好地满足的限制,你希望构建自己的框架,或者你只是想学习 React 应用的基础知识,那么从零开始启动一个 React 项目还有其他可用的选项。 +如果你的应用存在现有框架无法很好满足的限制,你希望构建自己的框架,或者你只是想学习 React 应用的基础知识,那么从零开始启动一个 React 项目还有其他可用的选项。 从零开始可以给你更多的灵活性,但同时也要求你必须自己选择用于路由、数据获取以及其他常见使用模式的工具。这更像自己构建一个框架,而不是使用一个已经存在的框架。[我们推荐的框架](#recommended-react-frameworks) 为这些问题提供了内置的解决方案。