Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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