Spike: Shadow DOM + Tailwind v4 + React 19
Two shadow root mounts side-by-side. Open DevTools > Elements to inspect the #shadow-root (open) nodes and verify Tailwind CSS is applied inside. Test all events — they appear in the event log.
Approach A: Native attachShadow + createRoot(shadowRoot)
Strategy: attachShadow + createRoot(shadowRoot) … mounting
Approach B: react-shadow library (declarative)
Loading react-shadow…