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

If you also have experience using JSX in a React app, I'd love to hear any opinions/experiences you have with doing the JSX style vs createElement() style coding.

I understand how they map to each other but I've only done JSX. That said, I'm old so calling functions all over the place is in my wheelhouse, and I'd love to hear from folks who have done both.



It's verbose, but it's not all that bad for small applications. Especially when you don't want a build step or tooling. In today's day and age, you can have your favorite LLM do the verbose parts for you if you really want.


I'm a fan of this lib [0] (with some personal modifications). It's prefer it over JSX, but I use JSX because it's usually simpler.

0: https://github.com/sultan99/react-on-lambda




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

Search: