import React from "react"; import { createRoot } from "react-dom/client"; import { ApolloContext } from "./contexts/ApolloContext"; const App = () => { return (
Hello, Rails 7!
); }; const container = document.getElementById("app"); if (container) { const root = createRoot(container); root.render(); }