valhalla / frontend /src /main.jsx
Dontcryx_07
final
d660fa9
Raw History Blame Contribute Delete
487 Bytes
/**
* main — React entry point.
*
* Mounts <App /> into the #root element under StrictMode.
*
* Architecture: the first frontend file to run; everything else in
* frontend/src is rendered from here.
*
* Design: StrictMode is on to surface double-render bugs early.
*/
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
createRoot(document.getElementById("root")).render(
<StrictMode>
<App />
</StrictMode>
);