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

This wouldn't work with a standard React project though, right? Because you still need to transpile JSX. You could use the development version of React, I guess, which is slower, but can understand JSX, but that's not something you want to ship.

I'd love to use something like this for teaching, tutorials, and even small projects, but there's some things I still need a transpiler for.

I also realize I could use the `htm` package instead of JSX, which gives a lot of benefits over JSX, including not requiring transpiling, but, since it's not widely used by the wider ecosystem, I'd be a little hesitant to include it in my projects.




Check out https://www.pika.dev/packages/htm which solves exactly that problem. Personally I like it so far.




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

Search: