#css#discuss#react#tailwindcss
Shadow DOM Tailwind and shadcn/ui all have their strengths, but they do not always play nicely together. Sometimes you just have to compromise. Use Shadow DOM only for simple components, let portals work normally, and accept a bit of global CSS.
I Know This Will Upset Some Devs, but Tailwind + Shadcn/ui +...
Read full article on DEVDevArt keeps this article discoverable at a fast, self-canonical URL and links clearly to the original DEV publication.