#Cannot change `useStore()` value using syntax obj[key] = value

3 messages · Page 1 of 1 (latest)

winter marsh
#

it seems that obj.key is designed to be used for stores and signals

#

and even though obj[key] is unconditionally equivalent to it, it wont work, I think it is a bug

#

LMAO I thought I was pretty good in JS until I realized I can use this method

Object.assign(test, temp)