import {createRoot} from 'react-dom/client'
import App from './App.tsx'
import './index.css'

// NOTE: We intentionally do NOT wrap <App /> in <StrictMode>. In development
// StrictMode mounts effects twice (mount → unmount → mount), which would make
// us join the Trystero room, leave it, then rejoin. Other peers would see a
// spurious leave/join and the WebRTC connections would churn. Skipping it keeps
// the live P2P behavior easy to reason about while developing.
createRoot(document.getElementById('root')!).render(<App />)
