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

4.0.0 • Public • Published

React Query Native Devtools

Flipper client plug-in for React Query

Installation

$ npm i --save-dev react-query-native-devtools react-native-flipper
# or
$ yarn add --dev react-query-native-devtools react-native-flipper

Usage

Register the plugin in your application:

import * as React from 'react';
import { QueryClient, QueryClientProvider } from 'react-query';

const queryClient = new QueryClient();

if (__DEV__) {
  import('react-query-native-devtools').then(({ addPlugin }) => {
    addPlugin({ queryClient });
  });
}

function App() {
  return (
    <QueryClientProvider client={queryClient}>
      <MyReactQueryApp />
    </QueryClientProvider>
  );
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.0.08,997latest
3.0.0-canary.11canary

Version History

VersionDownloads (Last 7 Days)Published
4.0.08,997
3.0.2236
3.0.1119
3.0.01
3.0.0-canary.11
3.0.0-canary.01
2.0.01
0.3.3-canary.01
0.3.211
0.3.2-canary.01
0.3.11
0.3.01
0.2.02
0.2.0-canary.01
0.1.51
0.1.31
0.1.3-canary.01
0.1.21
0.1.11
0.1.01

Package Sidebar

Install

npm i react-query-native-devtools

Weekly Downloads

9,292

Version

4.0.0

License

MIT

Unpacked Size

23.2 kB

Total Files

15

Last publish

Collaborators

  • bgaleotti