mirror of
https://github.com/expo/dev-plugins.git
synced 2026-11-14 17:50:01 -10:00
# Why update readme for package publishes # How add the simple installation steps
486 B
486 B
@dev-plugins/react-query
A TanStack Query DevTool that can run in an Expo App
Installation
Add the package to your project
npx expo install @dev-plugins/react-query
Integrate react-query with the DevTool hook
import { useReactQueryDevTools } from '@dev-plugins/react-query';
const queryClient = new QueryClient(...);
export default function App() {
useReactQueryDevTools(queryClient);
return (
<View>
{/* ... */}
</View>
);
}