News for hackers. Stuff that matters.
Re:Web Components Eliminate JavaScript Framework Lock-In by zaphar on Monday November 27, 2023 @04:41PM (#38438795)
You don't have to use innerHtml. The ShadowRoot pretty much acts like a document. So you can also use appendChild. Combined with a template element you can completely avoid innheHtml. You could even use jsx to create the template element I suppose.

That said I think this is mostly a non-issue.

There are no comments on this comment yet.