Hacker News new | ask | show | jobs
by commanderkeen08 1064 days ago
Nobody wants Shadow DOM though. Using ::part is always clunky and we’re all lying to ourselves when we say “oh no that’s the feature”.

The whole shadcn/tailwind philosophy of having you own your components is the future.

2 comments

Wait, but that is the feature. My issue with Shadow DOM is that "base" styles (like fonts and colors applied to tag selectors) don't come through, not that I can't override any given style from outside.

I'm not really sure what you mean by "own your own components"?

You don't need to use Shadow DOM though?