logoalt Hacker News

brazukadevlast Monday at 12:27 AM1 replyview on HN

If there is one thing I don't miss using WebComponents is JSX. lit-html is much, much better.


Replies

claytongulicklast Monday at 2:16 AM

It's such a lovely and simple stack.

No Lit Element or Lit or whatever it's branded now, no framework just vanilla web components, lit-html in a render() method, class properties for reactivity, JSDoc for opt-in typing, using it where it makes sense but not junking up the code base where it's not needed...

No build step, no bundles, most things stay in light dom, so just normal CSS, no source maps, transpiling or wasted hours with framework version churn...

Such a wonderful and relaxing way to do modern web development.

show 1 reply