@dev-plugins/apollo-client
v0.1.0
Published
Expo DevTools Plugin for Apollo Client
Downloads
41,003
Maintainers
Readme
@dev-plugins/apollo-client
An Apollo Client DevTool that can run in an Expo App
Installation
Add the package to your project
npx expo install @dev-plugins/apollo-client
Integrate Apollo Client with the DevTool hook
import { useApolloClientDevTools } from '@dev-plugins/apollo-client';
const client = new ApolloClient(...);
export default function App() {
useApolloClientDevTools(client);
return (
<View>
{/* ... */}
</View>
);
}