Closed sergeykimaia closed 2 years ago
code blocks reproduction: https://codesandbox.io/s/mobx-persist-store-version-1-forked-5ui54?file=/src/App.tsx
clicking on adduser1 adds a user clicking on adduser2 modifies that user, check console and you'll see debug not triggered
EDIT: an even simpler Example, here editing a value in a map doesn't work. , mobx gets updated, but it doesn't persist. https://codesandbox.io/s/mobx-persist-store-version-1-forked-96gqe?file=/src/stores/User.store.ts
Same issue with observable.array([])
mobx-persist-store@1.0.6
code blocks reproduction: https://codesandbox.io/s/mobx-persist-store-version-1-forked-5ui54?file=/src/App.tsx
clicking on adduser1 adds a user clicking on adduser2 modifies that user, check console and you'll see debug not triggered
EDIT: an even simpler Example, here editing a value in a map doesn't work. , mobx gets updated, but it doesn't persist. https://codesandbox.io/s/mobx-persist-store-version-1-forked-96gqe?file=/src/stores/User.store.ts