Skip to content

Commit 7ad1120

Browse files
authored
docs(cn): translate errors/index.md into Chinese
1 parent 417cc90 commit 7ad1120

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/content/errors/index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<Intro>
22

3-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
3+
在压缩的生产环境构建的React,我们避免发送完整的错误信息,以减少网络传输的字节数。
44

55
</Intro>
66

7+
我们强烈建议你在本地调试应用时使用开发环境构建,因为它会追踪额外的调试信息,并针对应用中的潜在问题提供有用的警告。但是,如果你在使用生产环境构建时遇到异常,错误信息将只包含一个指向相关错误文档的链接。
78

8-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, the error message will include just a link to the docs for the error.
9-
10-
For an example, see: [https://react.dev/errors/149](/errors/421).
9+
例如,参阅:[https://react.dev/errors/149](/errors/421)

0 commit comments

Comments
 (0)