-
-
Save morintd/79ecd259eeec99aadf6a6f567d1c9a6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom/client"; | |
import "./index.css"; | |
import { DependencyContextProvider } from "./dependency-context-provider"; | |
import { Home } from "../tic-tac-toe/home"; | |
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; | |
const queryClient = new QueryClient(); | |
export function bootstrap() { | |
ReactDOM.createRoot(document.getElementById("root")!).render( | |
<React.StrictMode> | |
<DependencyContextProvider> | |
<QueryClientProvider client={queryClient}> | |
<Home /> | |
</QueryClientProvider> | |
</DependencyContextProvider> | |
</React.StrictMode> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment