-
-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
[Minimal Reproducible Code]
https://stackblitz.com/edit/github-1fxhtuec?file=app%2Froutes%2Fhome.tsx
The problem happens when comment-in a line in loader and reload page.
[Problem]
When a loader returns BigInt data, this error happens and dev server exits.
LOADER routes/home triggered - 1.12ms
TypeError: Do not know how to serialize a BigInt
at sendEvent (file:///home/projects/github-1fxhtuec/node_modules/react-router-devtools/dist/server.js:34:18)
at eval (file:///home/projects/github-1fxhtuec/node_modules/react-router-devtools/dist/server.js:363:9)
at unAwaited (file:///home/projects/github-1fxhtuec/node_modules/react-router-devtools/dist/server.js:240:3)
at eval (file:///home/projects/github-1fxhtuec/node_modules/react-router-devtools/dist/server.js:355:5)
at async callRouteHandler (/home/projects/github-1fxhtuec/node_modules/react-router/dist/development/index.js:8628:16)
at async commonRoute.loader (/home/projects/github-1fxhtuec/node_modules/react-router/dist/development/index.js:8740:19)
at async eval (/home/projects/github-1fxhtuec/node_modules/react-router/dist/development/index.js:3550:19)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels