Open JReinhold opened 7 years ago
@JReinhold were you able to fix this issue? I'm facing kind of the same thing, except that I can't make it work at all 😕 opened #47.
@daniloprates, unfortunately not, I haven't used this library in years, so I'm afraid I won't be able to help you out.
No probls @JReinhold :) thanks
I have a weird problem. remotedev won't show any activity in the Chrome extension window if I enable MobX's
useStrict
. It will correctly show the stores, but only with default values, and will never react to actions or changed observables. The app is working fine, andmobx-react-devtools
works fine as well. As soon as I removeuseStrict(true)
it works perfectly.My setup:
react-scripts-ts @ 2.6.0
(using TypeScript)Example store
Example React app
I am running Redux as well, but haven't enabled the DevTools extension for my Redux store.
Another, maybe related problem
I HAVE to import remotedev using
import remotedev from 'mobx-remotedev/lib/dev';
, it won't work using the normal import, even though I KNOW thatprocess.env.NODE_ENV === 'development'
because I use that elsewhere in the app without failure. I don't know if this is related or not, but I thought that it might be nice to know.