mirror of
https://github.com/expo/dev-plugins.git
synced 2026-11-15 03:38:09 -10:00
@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>
);
}