/** * Frontend entry point: mounts the React root component (the frontend SPA is only * responsible for rendering and interaction). */ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { App } from "./app"; import "./styles.css"; const container = document.getElementById("root"); if (!container) throw new Error("#root mount point not found"); createRoot(container).render( , );