lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

Support shared signals in Preact islands

Open matthewp opened this issue 3 years ago • 4 comments

Changes

  • This makes it possible to share state between Preact components rendered to islands. Signals can be created in your Astro componnents and passed to islands. They will be serialized to HTML and in the client recreated as shared signals.

Testing

  • Test added. Key thing about this test is checking that the keys made for the signals are the same between the islands.

Docs

N/A

matthewp avatar Sep 14 '22 22:09 matthewp