khorark / mobx-flipper

17 stars 7 forks source link

Handle cyclic structures #22

Open schonarth opened 1 year ago

schonarth commented 1 year ago

My project has large data structures where many reference each other and vice-versa. I won't discuss whether or not this is a bad practice, that being legacy code I have to live with. So, can mobx-flipper do something to display the data or at least not break the whole app?

maciejewiczow commented 1 year ago

Also would love for this problem to be solved, I see that the root cause of the issue is the react-native-flipper itself, but this can be worked around, maybe by stringifying the store beforehand and sending it as a string? Then unpacking on the other side manually