// @flow

import Reactotron, {
  networking,
  asyncStorage,
  trackGlobalErrors,
} from 'reactotron-react-native';
import { reactotronRedux } from 'reactotron-redux';

let reactotron = null;
if (__DEV__) {
  reactotron = Reactotron
    .configure()
    .useReactNative()
    .use(reactotronRedux())
    .use(networking())
    .use(asyncStorage())
    .use(trackGlobalErrors())
    .connect();
}

export default reactotron;

@@ -7,16 +7,13 @@
 ow%0A%0A
-import R
+let r
 eact
@@ -21,70 +21,74 @@
 tron
-, %7B%0A  networking,%0A  asyncStorage,%0A  trackGlobalErrors,%0A%7D from 
+ = null;%0Aif (__DEV__) %7B%0A  const %7B default: Reactotron %7D = require(
 'rea
@@ -112,15 +112,17 @@
 ive'
+)
 ;%0A
-impor
+  cons
 t %7B 
@@ -143,13 +143,18 @@
 x %7D 
-from 
+= require(
 'rea
@@ -171,48 +171,10 @@
 dux'
+)
 ;
-%0A%0Alet reactotron = null;%0Aif (__DEV__) %7B
 %0A  r
@@ -267,86 +267,8 @@
 ())%0A
-    .use(networking())%0A    .use(asyncStorage())%0A    .use(trackGlobalErrors())%0A
     

Optimize reactotron usage