12 lines
No EOL
562 B
JavaScript
12 lines
No EOL
562 B
JavaScript
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() // controls connection & communication settings
|
|
.useReactNative() // add all built-in react native plugins
|
|
.use(reactotronRedux())
|
|
.connect();
|
|
|
|
export default reactotron; |