Skip to content

Commit 52709ad

Browse files
authored
Merge pull request #290 from mrAJAY1/patch-3
Q.7 changed "use client" inside note to code block.
2 parents a926f16 + d5df7be commit 52709ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@
547547
**Note:** You can also use reusable [react error boundary](https://github.com/bvaughn/react-error-boundary) third-party component without writing any class. i.e, No need to use class components for Error boundaries.
548548
549549
The usage of Error boundaries from the above library is quite straight forward.
550-
>**_Note when using react-error-boundary:_** ErrorBoundary is a client component. You can only pass props to it that are serializeable or use it in files that have a "use client"; directive.
550+
>**_Note when using react-error-boundary:_** ErrorBoundary is a client component. You can only pass props to it that are serializeable or use it in files that have a `"use client";` directive.
551551
552552
```jsx
553553
"use client";

0 commit comments

Comments
 (0)