News for hackers. Stuff that matters.
Re:React Won by Default – and It's Killing Front End Innovation by michaelcampbell on Tuesday September 16, 2025 @10:55AM (#45263156)
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.

Re:React Won by Default – and It's Killing Front End Innovation by b_e_n_t_o_n on Tuesday September 16, 2025 @04:14PM (#45267381)
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

Re:React Won by Default – and It's Killing Front End Innovation by bastawhiz on Friday September 19, 2025 @07:45PM (#45308150)
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.