import{StrictMode}from"react";import{createRoot}from"react-dom/client";import{App}from"./App";import{dispatch}from"./store";import{connectSocket,wsUrl}from"./ws";import"./app.css";constroot=document.getElementById("root");if(!root){thrownewError("index.html must contain a #root element");}constsocket=connectSocket({url: wsUrl(),dispatch});createRoot(root).render(<StrictMode><Appsocket={socket}/></StrictMode>,);
One first-party cookie so a repeat visit isn't counted twice. No cross-site tracking, nothing stored until you accept. Cookie Policy.