mobx-remotedev
mobx-remotedev copied to clipboard
Support for "Redux DevTools Extension API" serialize option
I have seen some discussion that mobx-remotedev implements the "Redux DevTools Extension" API. So I'm curious whether the serialize
option can be passed in.
This doesn't seem to work:
const DevRootStore: typeof RootStore = remotedev(RootStore, {
remote: false,
global: true,
onlyActions: true,
serialize: {
replacer: (key, val) => key === 'root' ? 'root' : val;
},
});