3 ms·
If you care about compile-time checking (you would, if you work on medium to large applications) then JSX (or the TypeScript variant, TSX) is much better becaus
by interlocutor 8y ago
If you care about compile-time checking (you would, if you work on medium to large applications) then JSX (or the TypeScript variant, TSX) is much better because it catches invalid or mistyped attribute names etc.
- bodas 8y agoOnly because it is more mature. No reason you can't write a linter for hyperscript.
- hoppelhase 8y agoLooking at the sample in the usage section, I don't see why you could not just write a declaration file that would catch wrong attributes and so on.