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

Support for "Redux DevTools Extension API" serialize option

Open tyleralves opened this issue 5 years ago • 0 comments

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;
  },
});

tyleralves avatar Feb 20 '20 17:02 tyleralves