Hacker News new | ask | show | jobs
by silverwind 407 days ago
JSX is good but still has room for improvement:

- Original HTML attribute names, `class` instead of `className`, `for` instead of `htmlFor`

- Let expressions and components return multiple elements without the need for `Fragment`.

Could make a JSX 2.0 which would be much closer to actual HTML.

1 comments

attribute names depend on the implementation, Solid uses JSX and `class`