Skip to content

Commit 6bfa4fc

Browse files
authored
Update createRoot.md
1 parent d24840e commit 6bfa4fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react-dom/client/createRoot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ const root = createRoot(container, {
373373
374374
<CodeStep step={1}>onCaughtError</CodeStep> 옵션은 다음 두 개의 인자를 받는 함수입니다.
375375
376-
1. 발생한 <CodeStep step={2}>error</CodeStep> 객체
377-
2. <CodeStep step={4}>componentStack</CodeStep> 속성이 포함된 <CodeStep step={3}>errorInfo</CodeStep> 객체
376+
1. 발생한 <CodeStep step={2}>error</CodeStep> 객체.
377+
2. <CodeStep step={4}>componentStack</CodeStep> 속성이 포함된 <CodeStep step={3}>errorInfo</CodeStep> 객체.
378378
379379
`onUncaughtError``onRecoverableError`를 함께 사용하면, 사용자 정의 오류 보고 시스템을 구현할 수 있습니다.
380380

0 commit comments

Comments
 (0)