|
|
|
|
|
by epolanski
126 days ago
|
|
I love web components, but the fact that there's plenty of shadow-dom piercing properties defeats their purpose of "author them once, reuse them in different applications". One very common pitfall I encounter is the html's own base font size, since it impacts all the calculations in your webcomponents. Use a webcomponent with a font size of 12/14/16 and you get completely different behavior. If they were truly isolated they would really scale, but they don't. |
|
Admittedly, I might not be understanding your problem well enough, so sorry in advance if I've mischaracterized the issue.