Open
Description
π Subject area/topic
Stores
π Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/concepts/stores#modifying-values-in-arrays
π Description of content that is out-of-date or incorrect
This example seems to imply that the 2 options for setting the store array are different syntaxes to achieve the same thing, or at least doesn't specify that they are different.
The first option creates a new array always triggering reactivity, but the second option modifies the existing array and only triggers reactivity for things tracking the contents of the array. Some clarification about the difference and how the reactivity/tracking behaves in the 2nd option would be helpful.
π₯οΈ Reproduction in StackBlitz (if reporting incorrect content or code samples)
https://playground.solidjs.com/anonymous/223c2f23-dbed-4377-8e07-1e1f335b6c5c