Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs(stores): Add callout and example for nested stores #905

Merged
merged 3 commits into from
Sep 28, 2024

Conversation

dev-rb
Copy link
Contributor

@dev-rb dev-rb commented Sep 27, 2024

  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

Clarifies a bit more about the array range syntax for array stores to help make it more clear what we mean by "if your store is an array" (confusion in recent conversation)

Adds a callout for an advanced tip for users to be able to create nested stores to create nested setters. Added an example for users to follow as well. I chose to mark it as "advanced" because I'm not fully aware of any pitfalls of this approach.

Related issues & labels

Copy link

stackblitz bot commented Sep 27, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit 2a97e1e
🔍 Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/66f7229206a04e00088a224c
😎 Deploy Preview https://deploy-preview-905--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LadyBluenotes LadyBluenotes enabled auto-merge (squash) September 28, 2024 03:16
@LadyBluenotes LadyBluenotes merged commit 4f4ca84 into solidjs:main Sep 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Content]: Document nested stores as a way to create a nested setter
2 participants