Skip to content

Instantly share code, notes, and snippets.

@raivieiraadriano92
Created March 12, 2018 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raivieiraadriano92/f76dd050d1fa364759fcfafe126304c2 to your computer and use it in GitHub Desktop.
Save raivieiraadriano92/f76dd050d1fa364759fcfafe126304c2 to your computer and use it in GitHub Desktop.
# run
$ yarn add --dev reactotron-react-native
# create the src/config/ReactotronConfig.js file as what is attached
# add in file src/index.js the line:
# import 'config/ReactotronConfig';
import Reactotron from 'reactotron-react-native';
if (__DEV__) {
const tron = Reactotron
.configure()
.useReactNative()
.connect();
tron.clear();
console.tron = tron;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment