Created
March 12, 2018 16:12
-
-
Save raivieiraadriano92/f76dd050d1fa364759fcfafe126304c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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