3 ms·
Literally any framework that allows attributes/props, and child components has various ways this could be done. Vue, React, Svelte, Angular, all of them. There
by fkyoureadthedoc 3y ago
Literally any framework that allows attributes/props, and child components has various ways this could be done. Vue, React, Svelte, Angular, all of them.
There are many issues with Web Components, but I don't think this is one of them. The real pain doesn't start until you want to do something like:
<form>
<my-input></my-input>
<my-button></my-button>
</form>
and have everything behave as expected.
- rglover 3y ago> There are many issues with Web Components, but I don't think this is one of them. You described another version of the problem I'm getting at. You should be able to use vanilla HTML, but you can't without hoop jumping.
- fkyoureadthedoc 3y agoThat's not another version of the problem. It's pretty clear that you don't have a substantial amount of experience with Web Components, but have a strong opinion about them nonetheless.