astro
astro copied to clipboard
Supports Uint8Array/Uint16Array/Uint32Array for serialize props
Changes
- Allow astro-island to handle Uint8Array/Uint16Array/Uint32Array correctly
- Currently, for example,
new Uint8Array([1,2,3])
is handled as{0: 1, 1: 2, 2: 3}
and loses the type
Testing
I couldn't find any hydration tests for astro-island.props
. If there is, I will gladly update the test.
Docs
This changes doesn't affect the docs.