mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #237] Only plain objects, and a few built-ins, can be passed to Client Components from Server Components #58
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Specy on GitHub (Mar 3, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/237
Hello, i'm trying to use vinext to replace next 16.1.6, my current next project works without giving me the error, but as soon as i use vinext this issue pops up
I'm aware that i cannot pass Class instances etc to the server-client boundary, but i don't seem to be passing any (as i recall at least). I cannot debug further as the application is quite large and the error does not give any context of what file might be causing it.
Using next 16.1.6 i don't have this error
@Specy commented on GitHub (Mar 7, 2026):
@southpolesteve the PR does not solve the issue, it just makes the error clearer. I still don't know where the error originated from. It would be nice to have a hint of which boundary crossing generated the error
@Specy commented on GitHub (Mar 7, 2026):
For anyone with similar issues, if you are using next-runtime-env, the error seems to be originating from there as when i remove it from the head the error disappears.