We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 132b340 commit 57cfa4bCopy full SHA for 57cfa4b
1 file changed
src/content/reference/react/Component.md
@@ -1293,10 +1293,10 @@ class ErrorBoundary extends React.Component {
1293
logErrorToMyService(
1294
error,
1295
// 示例“组件堆栈”:
1296
- // 在 ComponentThatThrows 中(由 App 创建)
1297
- // 在 ErrorBoundary 中(由 APP 创建)
1298
- // 在 div 中(由 APP 创建)
1299
- // 在 App 中
+ // 在 ComponentThatThrows 中(由 App 创建)
+ // 在 ErrorBoundary 中(由 APP 创建)
+ // 在 div 中(由 APP 创建)
+ // 在 App 中
1300
info.componentStack,
1301
// 仅在 react@canary 版本可用
1302
// 警告:Owner Stack 在生产中不可用
0 commit comments