Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for "Redux DevTools Extension API" serialize option #51

Open
tyleralves opened this issue Feb 20, 2020 · 0 comments
Open

Support for "Redux DevTools Extension API" serialize option #51

tyleralves opened this issue Feb 20, 2020 · 0 comments

Comments

@tyleralves
Copy link

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;
  },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant