Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

auto-refetching.mdx

25 lines885 Bytes

1---
2id: auto-refetching
3title: Auto Refetching
4toc: false
5---
6​
7This example works best when ran locally so you can open 2 separate browsers or tabs at the same time and interact between them.
8​
9- [Open in CodeSandbox](https://codesandbox.io/s/github/tannerlinsley/react-query/tree/master/examples/auto-refetching)
10- [View Source](https://github.com/tannerlinsley/react-query/tree/master/examples/auto-refetching)
11​
12<iframe
13 src="https://codesandbox.io/embed/github/tannerlinsley/react-query/tree/master/examples/auto-refetching?autoresize=1&fontsize=14&theme=dark"
14 title="tannerlinsley/react-query: auto-refetching"
15 sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
16 style={{
17 width: '100%',
18 height: '80vh',
19 border: '0',
20 borderRadius: 8,
21 overflow: 'hidden',
22 position: 'static',
23 zIndex: 0,
24 }}
25></iframe>