by Inviz · 2y ago · 0 comments
1) Uses slots for composition
2) Does not use CSS-in-JS
3) Lightweight
I understand that slots imply shadow Dom, and then shadow Dom usually means adding/adopting stylesheets into components, and that means css in js.
But there's also ::part that allows piercing the shadow dom. Is there any library that uses it?
Yet, they are all Tools, and you don't learn a Technology by learning a Tool, or do you become a Writer when you learn Word?
``::part`` is part [sic] of the Standard, it doesn't require any tooling.
CCS in JS is your choice