react-query-devtools-flipper
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-query-devtools-flipper

React Native client plugin for flipper-plugin-react-query-devtools

Installation

npm install react-query-devtools-flipper react-native-flipper
# or
yarn add react-query-devtools-flipper react-native-flipper

Usage

import { useFlipperDevtools } from 'react-query-devtools-flipper';
import { QueryClient } from 'react-query';

const queryClient = new QueryClient();

function Component() {
  useFlipperDevtools(queryClient);

  return <View>{/*...*/}</View>;
}

The hook automatically handles only enabling the plugin in development environments.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

/react-query-devtools-flipper/

    Package Sidebar

    Install

    npm i react-query-devtools-flipper

    Weekly Downloads

    14

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    25.6 kB

    Total Files

    15

    Last publish

    Collaborators

    • chrishenderson