Spaces:
Running
Running
Download frontend/src/main.jsx from Agmmm/valhalla: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/Agmmm/valhalla/resolve/main/frontend/src/main.jsx
- Command line
-
hf download hf://spaces/Agmmm/valhalla/frontend/src/main.jsx
-
curl -L -o main.jsx https://huggingface.co/spaces/Agmmm/valhalla/resolve/main/frontend/src/main.jsx
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> | |
| ); | |