Y
Hacker News
new
|
ask
|
show
|
jobs
by
throw_m239339
1426 days ago
React can be used as a templating library server-side in a node environment (like handlebars). It's a bit heavy for the task but it works.
1 comments
crooked-v
1426 days ago
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.
link
likeclockwork
1426 days ago
You can typecheck anything there exists a typechecker for.
Vue templates are typechecked for example.
link