Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import ReactDOM from 'react-dom';
import { QueryClient, QueryClientProvider } from 'react-query';
import { ReactQueryDevtools } from 'react-query/devtools';
import './index.scss';
import Home from 'pages/Home';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
const queryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
},
},
});
ReactDOM.render(
<QueryClientProvider client={queryClient}>
<Home />
<ReactQueryDevtools initialIsOpen={false} /> {/* Devtools won't be bundled during build */}
</QueryClientProvider>,
document.getElementById('root')
);
serviceWorkerRegistration.register();
|