It's often easier to compute what should be displayed with JS, then display that with custom HTML, and this is exactly what web components (a standard) do.
dtagames•8m ago
It's often easier to compute what should be displayed with JS, then display that with custom HTML, and this is exactly what web components (a standard) do.