0.10.3 • Published 1 year ago

@caribou-crew/mezzo-interceptor-react-native-with-reactotron v0.10.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Usage

This assumes you've already setup Reactotron.

To use the plugin install the package

npm

npm install @caribou-crew/mezzo-interceptor-react-native-with-reactotron

yarn

yarn add @caribou-crew/mezzo-interceptor-react-native-with-reactotron

Then use the plugin in your Reactotron config

import Reactotron from 'reactotron-react-native';
import mezzoAndReactotronNetworking from '@caribou-crew/mezzo-interceptor-react-native-with-reactotron';

Reactotron.configure({
  name: 'React Native Demo',
})
  .useReactNative({
    networking: false, // set networking to false if using react native
  })
  .use(
    mezzoAndReactotronNetworking({
      mezzoPort: 8000,
    })
  ) // and use mezzo & reactotron networking
  .connect();