Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can’t stand JSX either - it’s using JavaScript to render HTML templates, but it’s not valid JavaScript or HTML. I much prefer libraries like Lit that use tagged template literals for rendering component views - you write real code in the actual language the browser understands, no extra transpile step needed.


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

Search: