3 ms·
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 s
by crooked-v 4y 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.
- likeclockwork 4y agoYou can typecheck anything there exists a typechecker for. Vue templates are typechecked for example.