Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throw_m239339
on July 29, 2022
|
parent
|
context
|
favorite
| on:
Build your own web framework
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.
crooked-v
on July 29, 2022
[–]
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.
likeclockwork
on July 29, 2022
|
parent
[–]
You can typecheck anything there exists a typechecker for.
Vue templates are typechecked for example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: