Hacker News new | past | comments | ask | show | jobs | submit login

html`<h1>oh hai ${name}` won't get any complaints from any linters by default, while h('h1', `oh hai ${name}` would throw an error.



Couldn't you say the same about JSX?


No, if you type

> <j1>oh hai {name}</h1>

your editor will complain :)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: