Shinyaigeek / ideas

my oss ideas...
3 stars 0 forks source link

lit-html with JSX #2

Open Shinyaigeek opened 3 years ago

Shinyaigeek commented 3 years ago

Motivation

Lit is awesome!! I think lit-element is the best way to write web-components, and lit-html is great template engine which can run on server and also client, but I have one point disatisfing about lit, this is template-literal based DOM constructation.

I think JSX is better option than template-literal.

Shinyaigeek commented 3 years ago

I have made babel plugin to solve this problem . https://github.com/Shinyaigeek/babel-plugin-lit-jsx

But I am worrying some points .