Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Lit-Html, JavaScript Templating from the Polymer Team at Google | Better HN
Lit-Html, JavaScript Templating from the Polymer Team at Google
(malloc.fi)
3 points · by
velmu
· 9y ago · 4 comments
Comments
[–]
macmac
9y ago
I don't understand how this is possible in 2017. It is like they are reinventing PHP.
[–]
ergo14
9y ago
How is this like PHP (didn't touch PHP in 8 years)? It is closer to hyperHTML or JSX with different syntax I think.
[–]
macmac
9y ago
HTML as strings in the middle of your program - yuck! same applies to JSX by the way.
[–]
ergo14
9y ago
Hm, I believe that the templates will be inlined in your elements in build step. Or at least easly can be, since I also did components with separate preprocessed css, separate js and HTML template.