Files
Kudo Chien 1441ff695d [packages] update readme (#9)
# Why

update readme for package publishes

# How

add the simple installation steps
2023-12-12 02:38:35 +08:00

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>
  );
}