Skip to content

Commit cfe271e

Browse files
authored
Update build-a-react-app-from-scratch.md
1 parent c5bb327 commit cfe271e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/build-a-react-app-from-scratch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ React 生态系统中包含许多用于解决这些问题的工具。我们列
134134

135135
你的渲染策略需要与路由器集成,以便使用你的框架构建的应用程序可以在每个路由级别选择渲染策略。这将使你能够在不重写整个应用程序的情况下使用不同的渲染策略。例如,你的应用程序的登录页面可能会从静态生成 (SSG) 中受益,而具有内容提要的页面可能在服务器端渲染时表现最佳。
136136

137-
使用合适的渲染策略针对合适的路由可以减少加载第一个内容字节的时间 ([首字节时间](https://web.dev/articles/ttfb)), 第一个内容元素渲染的时间 ([首次内容绘制](https://web.dev/articles/fcp)), 以及应用程序最大可见内容渲染的时间 ([最大内容绘制](https://web.dev/articles/lcp)).
137+
使用合适的渲染策略针对合适的路由可以减少加载第一个内容字节的时间 ([首字节时间](https://web.dev/articles/ttfb)), 第一个内容元素渲染的时间 ([首次内容绘制](https://web.dev/articles/fcp)), 以及应用程序最大可见内容渲染的时间 ([最大内容绘制](https://web.dev/articles/lcp))
138138

139139
### 还有... {/*and-more*/}
140140

0 commit comments

Comments
 (0)