Closed LuckyLuky closed 5 years ago
Could you please provide the full stacktrace?
I'm not sure if the stacktrace will be of any help, since it's pretty generic, but here it is:
I am going to transfer this issue over to the reactotron-redux
repo as that is where the code in question lives now.
thank you @LuckyLuky - this is only way I could get this working.
This was caused because the store was trying to be used before everything was wired up. v3.0.0 has a guard against this so this should no longer happen!
Might seem like a duplicate of #317, but this is actually a separate issue.
Once I import the Reactotron instance to my index file, although I use it to create store conditionally, inside
if (__DEV)
condition, the app immediately crashes.I've figured out that if I initialize Reactotron inside a factory function, which I call inside the
__DEV__
condition, everything works fine.The original config looks like this:
With factory function:
I suspect that reactotronRedux plugin could be the reason.