feat: support passing Uint8Array as island props (#1225)

This commit adds support for passing Uint8Array's to islands in
component props.
This commit is contained in:
Luca Casonato
2023-05-31 08:34:57 +00:00
committed by GitHub
parent e3f9a0df08
commit 38e67b0a97
5 changed files with 72 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ Fresh can serialize the following types of values:
`null`, and `bigint`s are not supported)
- Plain objects with string keys and serializable values
- Arrays containing serializable values
- Uint8Array
- Preact Signals (if the inner value is serializable)
Circular references are supported. If an object or signal is referenced multiple