Skip to content

Document limitations of island prop serialization #9557

Open
@ascorbic

Description

@ascorbic

📚 Subject area/topic

Islands

📋 Suggested page

  • guides/framework-components
  • guides/server-islands

📋 General description or bullet points (if proposing new content)

The framework components guide documents the fact that you can't pass functions to client components, but it doesn't document any of the other restrictions. It also doesn't document any of these for server islands. Values must be serializable, and the following types are supported: plain object, number, string, Array, Map, Set, RegExp, Date, BigInt, URL, Uint8Array, Uint16Array, Uint32Array, Infinity. Circular references and functions are not supported.

🖥️ Reproduction of code samples in StackBlitz

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    add new contentDocument something that is not in docs. May require testing, confirmation, or affect other pages.help wantedIssues looking for someone to run with them!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions