4 ms·
You might not need a web component for a button, but every component library includes them. You're probably not using default css, so it helps to limit your cus
by schwartzworld 5y ago
You might not need a web component for a button, but every component library includes them. You're probably not using default css, so it helps to limit your customization options to a few semantic props.
In react you will be calling <Button> components, whether those are web components or react components doesn't take away from what react is great at: giving you a framework for declaring a reactive ui. Having the base components as web components makes them framework agnostic. maybe you don't need react.