Open Rednas83 opened 2 months ago
Sorry, just found it in the docs. Even possible with setItem
I see. That's cool🚀
Not sure yet how to push to an array yet.
Something like this
store.patch((state) => {
state.items.push({ name: 'shoes', quantity: 1 })
state.hasChanged = true
})
Is that also possible?
Any thoughts?
Something like
OR