Document limitations of island prop serialization #9557
Labels
add new content
Document something that is not in docs. May require testing, confirmation, or affect other pages.
help wanted
Issues looking for someone to run with them!
📚 Subject area/topic
Islands
📋 Suggested page
📋 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
The text was updated successfully, but these errors were encountered: