3 ms·
I have only tried your approach on small side projects. I quite liked it, for the reasons you mention. And for one more reason: the only tooling needed is esbu
by crabmusket 2y ago
I have only tried your approach on small side projects. I quite liked it, for the reasons you mention.
And for one more reason: the only tooling needed is esbuild, which can handle TSX. No finding a Vue SFC plugin, just a single dependency and you're off.
(Of course you'll probably also want to install typescript itself as IDE type checking isn't adequate for a real project.)
- seanwilson 2y agoYeah, I like that JSX is built into TypeScript like this so it's more standardised with less tooling required. JSX is probably less likely to change given its relatively wide usage compared to each framework having it's own template language and JSX is well supported by linters and formatters too.