"but web components are broken"
"But web components aren't ready"
"But web components are slow"
"But nobody uses web components"
Seriously, just use web components.
Here's a slide-based presentation I built, it's just HTML, with behavior handled by web components.
Thanks, Im meaning to look into web components (and vue for that matter)
Some people seem to think that I believe JS (react et al) are evil and all, but it's not the case. I've developed web applications using them.
The point I am trying to make is that most of the time you dont need it and you'll have an easier time developing a progressively enhanced website; and your users will have a better time too.
The head dev at ING expressed this nicely a few years back.
To loosely paraphrase: it's not bad to write JS, but is bad to write (or use) JS that you don't have to.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.