// Registry react-dom/client shim. Likely unused — registry components don't
// createRoot — but the contract lists it as an external, so include it.
const C = window.__HOST_REACT_DOM_CLIENT__
if (!C) {
  throw new Error('Registry react-dom/client shim: window.__HOST_REACT_DOM_CLIENT__ not installed')
}

export const createRoot = C.createRoot
export const hydrateRoot = C.hydrateRoot
