Jared White avatar Jared White

Enhance vs. Lit vs. WebC…or, How to Server-Render a Web Component

Screenshot of “Enhance vs. Lit vs. WebC…or, How to Server-Render a Web Component”

WebC is the only tool I’m aware of on the market today which lets you author web components as HTML from the very start. The .webc extension of a component highlights that while this isn’t pure HTML, it certainly isn’t JavaScript either. And that’s the Achilles’ heel of technologies like Enhance or Lit. It’s HTML-in-JS, CSS-in-JS…nothing but .js files as far as the eye can see.

I really hate writing HTML in JavaScript files. 😬