mobx-remotedev icon indicating copy to clipboard operation
mobx-remotedev copied to clipboard

MobX 6 (Cannot obtain atom from undefined)

Open Aleksandern opened this issue 3 years ago • 6 comments

Doesn't work with MobX 6: [MobX] Cannot obtain atom from undefined

Aleksandern avatar Oct 13 '20 07:10 Aleksandern

@zalmoxisus Hi Mihail, Do you still maintain this package?

Aleksandern avatar Oct 20 '20 11:10 Aleksandern

I am not the maintainer, but I had the same issue and solved.

You might need to upgrade mobx-state-tree package to rc version. (v4) Same for mst-middlewares.

npm install mobx-state-tree@rc;
npm install mst-middlewares@rc;
yarn add mobx-state-tree@rc;
yarn add mst-middlewares@rc;

Check this Issue: https://github.com/mobxjs/mobx-state-tree/pull/1569

sudosubin avatar Oct 26 '20 13:10 sudosubin

Are there any replacements for this package ( if it's not maintained anymore ) ?

alex-shamshurin avatar Nov 23 '20 13:11 alex-shamshurin

@Aleksandern I've switched from Redux devtools to a simple browser logger: https://github.com/kubk/mobx-log

I am going to add Redux devtools support but for me it's no longer needed, because the logger already covers most of its usecases like inspecting store, calling actions and computeds.

kubk avatar Oct 14 '21 08:10 kubk

@kubk Can your logger work with React Native Debugger https://github.com/jhen0409/react-native-debugger?

Aleksandern avatar Oct 14 '21 15:10 Aleksandern

@Aleksandern Unfortunately I am not familiar with this tool as well as React Native development in general.

kubk avatar Oct 14 '21 16:10 kubk