mobxjs / mobx-state-tree

Full-featured reactive state management without the boilerplate
https://mobx-state-tree.js.org/
MIT License
6.94k stars 640 forks source link

BigInt serialization error using connectReduxDevtools #1977

Closed AaronPorts closed 1 year ago

AaronPorts commented 1 year ago

Getting the next error in console: "Do not know how to serialize a BigInt". The reason in my case is that logContext.callArgs array from connectReduxDevtools includes HTMLElement and it can't be serialized. Guess we need to add some instanceof HTMLElement check.

coolsoftwaretyler commented 1 year ago

Hey @AaronPorts - would you mind writing up a minimal reproduction for this that demonstrates the issue?

coolsoftwaretyler commented 1 year ago

Hey @AaronPorts - just a reminder here. I will probably close this issue out if we don't see a reproduction from you in the next two weeks or so. I know it's been a while, so apologies for the wait time. Hope you were able to maybe figure it out?

coolsoftwaretyler commented 1 year ago

Closin' out. Sorry we didn't help ya when it was more relevant!