Replies: 1 comment
-
Web components help abstract complexity and are generally favoured for everyday usage. However, there are edge cases where a web component bring unnecessary complexity (imagine a third party plugin that can't access a button inside the shadow dom for event binding). Having standards HTML & CSS available in this situation is life saving. A solution is preferred where web components (including for elements like button) exist alongside styled standard elements. Both implementations should share a base set of styles for extra dryness and consistency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reasoning
input from @oliverschuerch at #603
How are others doing it?
Analysis is done for the
button
component. Is it a web-component or is a standard<button>
or<input>
being used with CSS?4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions