Document createIslandSignal for sharing state across Solid islands#14146
Document createIslandSignal for sharing state across Solid islands#14146matthewp wants to merge 1 commit into
createIslandSignal for sharing state across Solid islands#14146Conversation
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Preview deployment ✅ Deployment complete!
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks, Matthew! Except a missing <Since /> I think this looks good.
I was waiting before reviewing/approving because I noticed Chris comment on the implementation PR, and that's true we have a recipe for that. So, I was also curious to know why we need something specific for Solid!
| ### Sharing state across islands | ||
|
|
There was a problem hiding this comment.
We'll need a <Since /> here, I believe this should be the right version:
| ### Sharing state across islands | |
| ### Sharing state across islands | |
| <Since pkg="@astrojs/solid-js" v="7.1.0" /> | |
Description
Documents the new
createIslandSignalAPI added in withastro/astro#17159, which allows sharing reactive signals across multiple Solid islands on the same page.Adds a "Sharing state across islands" subsection to the SolidJS integration guide with:
.astrofrontmatter