statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
27.21k stars 1.26k forks source link

[@xstate/solid] Fix context mutation with new values nested in arrays #5100

Closed GoldingAustin closed 1 month ago

GoldingAustin commented 1 month ago

Fix new array index value not being cloned before insertion into store - Fixes #5099

Additions to test cases:

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 9575c673f87f999208a8f3543dd33e7729c7d1ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------- | ----- | | @xstate/solid | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR