Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
crooked-v
· 4y ago · 0 comments
A huge benefit React (and anything else that uses JSX) has over text-based templating is that you can strictly lint/typecheck JSX because ultimately it's just syntactic sugar over plain JS.
Comments
[–]
likeclockwork
4y ago
You can typecheck anything there exists a typechecker for.
Vue templates are typechecked for example.