Skip to content

Commit ae13c1a

Browse files
QC-LLCINA
andauthored
Update content/docs/error-boundaries.md
Co-Authored-By: LCINA <870206584@qq.com>
1 parent 673c433 commit ae13c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/error-boundaries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: 错误边界
44
permalink: docs/error-boundaries.html
55
---
66

7-
过去,组件内的 JavaScript 错误会导致 React 的内部状态被破坏,并且在下一次渲染时 [产生](https://github.com/facebook/react/issues/4026) [可能无法追踪的](https://github.com/facebook/react/issues/6895) [错误](https://github.com/facebook/react/issues/8579)。这些错误基本上是由较早的其他代码(非React组件代码)错误引起的,但 React 并没有提供一种在组件中优雅处理这些错误的方式,也无法从错误中恢复。
7+
过去,组件内的 JavaScript 错误会导致 React 的内部状态被破坏,并且在下一次渲染时 [产生](https://github.com/facebook/react/issues/4026) [可能无法追踪的](https://github.com/facebook/react/issues/6895) [错误](https://github.com/facebook/react/issues/8579)。这些错误基本上是由较早的其他代码(非 React 组件代码)错误引起的,但 React 并没有提供一种在组件中优雅处理这些错误的方式,也无法从错误中恢复。
88

99

1010
## 错误边界(Error Boundaries) {#introducing-error-boundaries}

0 commit comments

Comments
 (0)