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.
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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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