Open History to see the last commit
1---
2id: window-focus-refetching
3title: Window Focus Refetching
4ref: docs/framework/react/guides/window-focus-refetching.md
5replace: { '@tanstack/react-query': '@tanstack/vue-query' }
6---
7β
8[//]: # 'Example'
9β
10```js
11const vueQueryPluginOptions: VueQueryPluginOptions = {
12 queryClientConfig: {
13 defaultOptions: {
14 queries: {
15 refetchOnWindowFocus: false,
16 },
17 },
18 },
19}
20app.use(VueQueryPlugin, vueQueryPluginOptions)
21```
22β
23[//]: # 'Example'
24[//]: # 'ReactNative'
25[//]: # 'ReactNative'