-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Using nanostores in astro components #7936
Copy link
Copy link
Closed
Labels
help wantedIssues looking for someone to run with them!Issues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)
Metadata
Metadata
Assignees
Labels
help wantedIssues looking for someone to run with them!Issues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)
Type
Fields
Give feedbackNo fields configured for issues without a type.
📚 Subject area/topic
Nanostores
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/recipes/sharing-state-islands/
https://docs.astro.build/en/recipes/sharing-state/
📋 Description of content that is out-of-date or incorrect
Currently, the docs pertaining to
sharing-state-islandsseem to advise against using nanostores in.astrocomponents in theFAQsection. However, the docs forsharing-statedemonstrates setting up nanostores for use inside.astrocomponents with setting state/subscribing to changes.There appears to be a contradiction between the two.🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response