Skip to content

Instantly share code, notes, and snippets.

@GuilhermeLis
Last active November 20, 2020 15:37
Show Gist options
  • Save GuilhermeLis/d79c10bb7cd03a9472c66c557eb03271 to your computer and use it in GitHub Desktop.
Save GuilhermeLis/d79c10bb7cd03a9472c66c557eb03271 to your computer and use it in GitHub Desktop.
ReactotronConfig from Redux with AsyncStorage
import Reactotron from 'reactotron-react-native';
import { reactotronRedux } from 'reactotron-redux';
import reactotronSaga from 'reactotron-redux-saga';
declare global {
interface Console {
tron: any;
}
}
if ('__DEV__') {
const tron = Reactotron.configure({ host: 'put your ip here', port: 9090 })
.useReactNative({ errors: true, editor: true })
.use(reactotronRedux())
.use(reactotronSaga())
.connect();
tron.clear!();
console.tron = tron;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment