Download client/src/index.js from Jessedbrown/onboarding: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/Jessedbrown/onboarding/resolve/main/client/src/index.js
- Command line
-
hf download hf://Jessedbrown/onboarding/client/src/index.js
-
curl -L -o index.js https://huggingface.co/Jessedbrown/onboarding/resolve/main/client/src/index.js
486 Bytes
| import React from "react"; | |
| import { createRoot } from "react-dom/client"; | |
| import "./index.css"; | |
| import App from "./App"; | |
| import * as serviceWorker from "./serviceWorker"; | |
| const root = createRoot(document.getElementById("root")); | |
| root.render(<App />); | |
| // If you want your app to work offline and load faster, you can change | |
| // unregister() to register() below. Note this comes with some pitfalls. | |
| // Learn more about service workers: https://bit.ly/CRA-PWA | |
| serviceWorker.unregister(); | |