3 ms·
Agreed. I get excited to see "headless components" until I read the fine print that it's locked into framework x (usually React). I wish there was a robust hea
by psygn89 3y ago
Agreed. I get excited to see "headless components" until I read the fine print that it's locked into framework x (usually React). I wish there was a robust headless AND framework-agnostic component library (preferably relying on Lit or Stencil).
- samwillis 3y agoThink thing is that Ionic have proven this can work with the massively underrated Ionic Framework (built with Stencil, which they also built). I just wish they expanded a little further into desktop UI components and provided an no/low styled variant - I dislike Material as a base style, it's too opinionated. They are 50% of the way to building a universal mobile+ desktop ui toolkit. Do the same with Ionic Capacitor, make a desktop version, and that would be an incredible improvement over Electron - it uses the OS supplied web view.
- commanderkeen08 3y agoNobody 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.
- jakelazaroff 3y agoWait, 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"?
- johne20 3y agoYou don't need to use Shadow DOM though?