Server Islands fails when an object with circular dependencies passed as a prop. #11969
Closed
1 task
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: server islands
Related to Server Islands (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Passing an object with circular references to a server Island causes since
safeJsonStringify
doesn't take circular references in consideration.What's the expected result?
Circular objects to be delivered as they are to the client.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ldsng3?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: