This plugin offers feature parity with the official devtool for React Native since the official apollo client devtool only supports web platform and does not supports React Native.
- Install dependency
yarn add -D react-native-apollo-devtools-client
- Initialize the plugin with apollo client
import { apolloDevToolsInit } from 'react-native-apollo-devtools-client';
const client = new ApolloClient({
// ...
})
if(__DEV__){
apolloDevToolsInit(client);
}
Licensed under the MIT License.
Link to our Code of Conduct