You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is an issue in mobx, in RN or just in my code but here goes:
Basically I have a huge array of objects (with multiple properties) that I made observable in my Store. I do a single asynchronous fetch call which basically populates the variable.
When I plug mobx-remotedev in, the inspector logs multiple (seemingly infinite) "┃ add" action types for each property in each object of the array. This causes the remote debugger to hang and if i plug locally to "react-native-debugger", the app also hangs.
Is this normal behavior for mobx? If so how do I prevent the debugger from crashing?
Thanks!
The text was updated successfully, but these errors were encountered:
justingosan
changed the title
Debugger is logging "┃ add"
Debugger logging numerous action type "┃ add" causes crash
Jun 15, 2017
You can set onlyActions parameter to true so only mobx actions will be logged. The reason why the debugger is logging everything is that MobX isn't in strict mode. But that's odd you have so many add there.
Not sure if this is an issue in mobx, in RN or just in my code but here goes:
Basically I have a huge array of objects (with multiple properties) that I made observable in my Store. I do a single asynchronous fetch call which basically populates the variable.
When I plug mobx-remotedev in, the inspector logs multiple (seemingly infinite) "┃ add" action types for each property in each object of the array. This causes the remote debugger to hang and if i plug locally to "react-native-debugger", the app also hangs.
Is this normal behavior for mobx? If so how do I prevent the debugger from crashing?
Thanks!
The text was updated successfully, but these errors were encountered: