mobx-logger
mobx-logger copied to clipboard
MobX Logger causing performance issues in Safari
Hi there,
We're running into some issues with MobX logger and Safari (v 11.1.1). Whenever it is enabled it's causing the browser to hang when loading the app and making changes to MobX stores.
Our enableLogging currently looks like this:
enableLogging({
predicate: () => true,
action: true,
reaction: false,
transaction: false,
compute: false
});
Happy to do some testing to figure this out!
I've just tested my real world project with mobx 4 on latest Safari 11.1 and cannot reproduce the issues.
You should try to figure out if the problem is really caused by mobx-logger. E.g. try to disable mobx-logger, then setup a custom mobx spy listener and check if the issues are reproducible.
See: https://mobx.js.org/refguide/spy.html