Skip to content

docs: explain signal object and array updates - #1627

Open
dongyikuan919 wants to merge 2 commits into
solidjs:mainfrom
dongyikuan919:agent/document-signal-object-updates
Open

docs: explain signal object and array updates#1627
dongyikuan919 wants to merge 2 commits into
solidjs:mainfrom
dongyikuan919:agent/document-signal-object-updates

Conversation

@dongyikuan919

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

Description(required)

Document that directly mutating an object or array stored in a signal does not notify subscribers because the setter is not called. The new example shows updating through the setter with a new array and points readers who need frequent nested updates to stores.

Related issues & labels

Verification

  • git diff --check
  • Reviewed the MDX against the repository writing guide.
  • Prettier dependency installation could not complete locally; CI will run in the repository-required Node 24 environment.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

@netlify

netlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit eb94a52
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs/deploys/6a7ce813aaad210008e18b00
😎 Deploy Preview https://deploy-preview-1627--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

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 the lack of reactivity when mutating objects or arrays returned by createSignal

1 participant