astro icon indicating copy to clipboard operation
astro copied to clipboard

Supports Uint8Array/Uint16Array/Uint32Array for serialize props

Open aggre opened this issue 2 years ago • 6 comments

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.

aggre avatar Sep 08 '22 02:09 aggre