Re:Build your own web framework
by crooked-v on Friday July 29, 2022 @06:04PM
(#32282278)
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.
[ Parent
| on HN ]
Re:Build your own web framework
by likeclockwork on Friday July 29, 2022 @06:32PM
(#32282492)
You can typecheck anything there exists a typechecker for.
Vue templates are typechecked for example.