| ▲ | PaulHoule 3 hours ago | |||||||
We have been using the isolation stuff in Web Components to make React applications that our partners can embed in web pages regardless of what other CSS and JS they use. I don’t know if I’d want to make an application with 100 tiny web components at the level of individual buttons and such that work together but self-contained widgets that pop into a web page look great to me. | ||||||||
| ▲ | psygn89 2 hours ago | parent [-] | |||||||
We basically tried wrapping an entire registration app into the Shadow DOM just for a hopeful kick but it came with weird accessibility quirks, arrow keys not always working to go through selections, and some overlays acting strangely. We were using Shadcn which is powered by Radix Primitives, however, and a setup they probably weren't expecting or testing their code to be in. But for smaller things like chat widgets or players I think it's a great solution. | ||||||||
| ||||||||