Direct mutation of the state:
store.name = 'new name'store.$state.name = 'new name'store.list.push('new item')Mutated the state with $patch and a function
store.$patch(state => state.name = 'newName')Mutated the state with $patch and an object
store.$patch({ name: 'newName' })Generated using TypeDoc
Possible types for SubscriptionCallback