|
Download react-query/docs/framework/vue/guides/window-focus-refetching.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 504 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/vue/guides/window-focus-refetching.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/vue/guides/window-focus-refetching.md
-
curl -L -o window-focus-refetching.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/vue/guides/window-focus-refetching.md
504 Bytes
| id: window-focus-refetching | |
| title: Window Focus Refetching | |
| ref: docs/framework/react/guides/window-focus-refetching.md | |
| replace: { '@tanstack/react-query': '@tanstack/vue-query' } | |
| [//]: # 'Example' | |
| ```js | |
| const vueQueryPluginOptions: VueQueryPluginOptions = { | |
| queryClientConfig: { | |
| defaultOptions: { | |
| queries: { | |
| refetchOnWindowFocus: false, | |
| }, | |
| }, | |
| }, | |
| } | |
| app.use(VueQueryPlugin, vueQueryPluginOptions) | |
| ``` | |
| [//]: # 'Example' | |
| [//]: # 'ReactNative' | |
| [//]: # 'ReactNative' | |