Skip to content

Commit 8a1a54c

Browse files
authored
docs(cn): correct grammatical errors (reactjs#593)
1 parent ce591e4 commit 8a1a54c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/docs/code-splitting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ console.log(add(16, 26)); // 42
4040
>
4141
> 最终你的打包文件看起来会和上面的例子区别很大。
4242
43-
如果你正在使用 [Create React App](https://create-react-app.dev)[Next.js](https://nextjs.org/)[Gatsby](https://www.gatsbyjs.org/),或者类似的工具,你可以直接使用的 Webpack 配置来构建你的应用。
43+
如果你正在使用 [Create React App](https://create-react-app.dev)[Next.js](https://nextjs.org/)[Gatsby](https://www.gatsbyjs.org/),或者类似的工具,你可以直接使用内置的 Webpack 配置来构建你的应用。
4444

4545
如果你没有使用这类工具,你就需要自己来进行配置。例如,查看 Webpack 文档上的[安装](https://webpack.docschina.org/guides/installation/)[入门教程](https://webpack.docschina.org/guides/getting-started/)
4646

content/docs/reference-profiler.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ category: Reference
66
permalink: docs/profiler.html
77
---
88

9-
`Profiler` 测量渲染一个 React 应用多久渲染一次以及渲染一次的“代价”。
9+
`Profiler` 测量一个 React 应用多久渲染一次以及渲染一次的“代价”。
1010
它的目的是识别出应用中渲染较慢的部分,或是可以使用[类似 memoization 优化](/docs/hooks-faq.html#how-to-memoize-calculations)的部分,并从相关优化中获益。
1111

1212
> 注意:

0 commit comments

Comments
 (0)