DEV Community

Discussion on: Why do people use JSX?

Collapse
 
skyrpex profile image

I use Jsx in Vue. The reasons are typehinting and code autocompleton. In template files, you can easily type de wrong variable name and not notice. this won't happen with typescript and Jsx together.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I might try some day, as I also use TypeScript via Vue CLI.

But in reality, I don't really what to drop templating with Pug. I think there is lit-pug or something, but it isn't well developed.

It can get complex, indeed. i.imgur.com/benrTUc.png