Open
Description
Hey,
you wrote that you did that because there is too much noise in dev builds.
But when you use e.g. trackJs.track(...)
in your code, it should fail because trackJs is not defined
.
Do you always have null/undefined checks whenever you do that?
can't we just set config.enabled = false
(or leave it to the developer to do that)?
or can you add an additional parameter that can bypass that if (__DEV__)
check?
e.g.
function init(config, forceInit) { if (__DEV__ && !forceInit) { return; } ... }
Thanks,
and sorry if you are to busy with other stuff and don't want to invest any time in this.
Metadata
Metadata
Assignees
Labels
No labels