Files
clean-architecture-frontend…/src/bootstrap/main.jsx
T

24 lines
474 B
React

import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
function BootstrapShell() {
return (
<main>
<h1>Clean Architecture Frontend</h1>
<p>런타임 계약을 불러오는 중입니다.</p>
</main>
);
}
const rootElement = document.getElementById("root");
if (!rootElement) {
throw new Error("Missing #root mount element");
}
createRoot(rootElement).render(
<StrictMode>
<BootstrapShell />
</StrictMode>,
);