ecency-mobile/reactotron-config.ts
Nouman Tahir 5ad8ce3506 basic implementation of reactotron, tracks api calls and redux
to my surprise it also started tracking hive calls, it's huge thing for me
2021-05-18 10:26:29 +05:00

14 lines
552 B
TypeScript

import AsyncStorage from '@react-native-community/async-storage'
import Reactotron from 'reactotron-react-native'
import { reactotronRedux } from 'reactotron-redux'
const reactotron = Reactotron
.setAsyncStorageHandler(AsyncStorage) // AsyncStorage would either come from `react-native` or `@react-native-community/async-storage` depending on where you get it from
.configure({
name: "Ecency"
})
.useReactNative() // add all built-in react native plugins
.use(reactotronRedux())
.connect() // let's connect!
export default reactotron;