Skip to content

Instantly share code, notes, and snippets.

@morintd
Created March 11, 2024 19:58
Show Gist options
  • Save morintd/78c5365ed34a6facc8d70cadcef256f0 to your computer and use it in GitHub Desktop.
Save morintd/78c5365ed34a6facc8d70cadcef256f0 to your computer and use it in GitHub Desktop.
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";
export function bootstrap() {
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<DependencyContextProvider>
<Home />
</DependencyContextProvider>
</React.StrictMode>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment