File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ title: 错误边界
4
4
permalink : docs/error-boundaries.html
5
5
---
6
6
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 并没有提供一种在组件中优雅处理这些错误的方式,也无法从错误中恢复。
8
8
9
9
10
10
## 错误边界(Error Boundaries) {#introducing-error-boundaries}
You can’t perform that action at this time.
0 commit comments