Skip to content

Commit 454a2d3

Browse files
committed
docs: add docs for React Query plugin
1 parent fac43eb commit 454a2d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/src/content/docs/guides/data-fetching.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,9 @@ Maybe you mentioned that creating a new query or mutation hook looks the same ev
140140
- `usem` : Create a new mutation hook
141141

142142
![use-mutation](https://github.com/obytes/react-native-template-obytes/assets/11137944/c322f827-b71d-4629-a337-eb7cd96d4125)
143+
144+
## React Query dev tools plugin
145+
146+
For managing and and monitoring the `React Query` instances, we use the [React Query dev tools plugin](https://docs.expo.dev/debugging/devtools-plugins/#react-query), which offers us visibility into our data fetching processes and caching in real-time.
147+
It gives the ability to refetch the data manually, inspect and remove queries, providing control over our data.
148+
To use it, in the terminal press `shift` + `m` and choose from the opened list of dev tools the React Query plugin. The plugin's web interface will open and display the queries, enabling efficient debugging.

0 commit comments

Comments
 (0)