You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1865,7 +1865,7 @@ This example is based on the [Event Bubbling Through Portal](https://reactjs.org
1865
1865
[React-error-boundary](https://github.com/bvaughn/react-error-boundary) - is a lightweight package ready to use for this scenario with TS support built-in.
1866
1866
This approach also lets you avoid class components that are not that popular anymore.
1867
1867
1868
-
##### Options 2: Writing your custom error boundary component
1868
+
##### Option 2: Writing your custom error boundary component
1869
1869
1870
1870
If you don't want to add a new npm package for this, you can also write your own `ErrorBoundary` component.
Copy file name to clipboardExpand all lines: docs/basic/getting-started/error-boundaries.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ title: Error Boundaries
8
8
[React-error-boundary](https://github.com/bvaughn/react-error-boundary) - is a lightweight package ready to use for this scenario with TS support built-in.
9
9
This approach also lets you avoid class components that are not that popular anymore.
10
10
11
-
### Options 2: Writing your custom error boundary component
11
+
### Option 2: Writing your custom error boundary component
12
12
13
13
If you don't want to add a new npm package for this, you can also write your own `ErrorBoundary` component.
0 commit comments