AriaFallah / mobx-store

A data store with declarative querying, observable state, and easy undo/redo.
MIT License
282 stars 9 forks source link

Can't replace stored object #38

Closed ifokeev closed 8 years ago

ifokeev commented 8 years ago

I have mobxstore like this var store = mobxstore({order: {abc: 1, cba: 2}}). Is there a way to replace store('order') with a new object?

ifokeev commented 8 years ago

Closed, because I found a way: store.set('order', {etc: 3})