Skip to content

Commit f233ff7

Browse files
committed
feat: add custom error page for React error 377
1 parent d0020bc commit f233ff7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/content/errors/377.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<Intro>
22

3-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
3+
This page explains this React error and common ways to fix it.
44

55
</Intro>
66

7-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original error message.
8-
9-
The full text of the error you just encountered is:
7+
The full text of the error is:
108

119
<ErrorDecoder />
1210

11+
<Note>
12+
13+
In the minified production build of React, full error messages are replaced with short codes to reduce bundle size. We recommend using the development build when debugging, as it includes additional warnings and debug information.
14+
15+
</Note>
16+
1317
This error occurs when you pass a BigInt value from a Server Component to a Client Component.

0 commit comments

Comments
 (0)