3 ms·
It's not quite OTB but with Vetr and and such it's the best worst experience. By that I mean, as the worst TS experience it's miles ahead of tooling for say.. P
by Rapzid 8y ago
It's not quite OTB but with Vetr and and such it's the best worst experience. By that I mean, as the worst TS experience it's miles ahead of tooling for say.. Python.
That being said, Vue... Oh Vue. It settled on its own string template syntax that never got the tooling love of JSX. There have been efforts to get them typed, but those efforts never quite rounded second. Lack of typing in the Vue templates seems to be a sticking point for many.. I don't believe they are long does this world; JSX is the future for Vue.
- philliphaydon 8y agoWorks fine for me in VSCode using vetur.
- basil-rash 8y agovetur doesn't give you cross-module type checking
- t1amat 8y agoI strongly agree with your point regarding Vue template strings and JSX being the future of Vue. Coming from React + TS projects, Vue + TS is a lesser experience in many ways. Another such way is the community’s infatuation with exporting raw object literals for component definitions, and forcing you to defy common language idioms to support them hoisting this object literal into a component context.
- Vinnl 8y ago> I strongly agree with your point regarding Vue template strings and JSX being the future of Vue. I wonder whether that's really true. Most adoption of Vue is from after React and JSX were a thing, and many of the Vue adopters (or at least the ones I encounter online) are adopting it because they found React to complex, or had trouble collaborating with their designers. That sounds like templates are one of its main selling points, especially when compared to React.
- d0100 8y agoI noticed that a lot of Vue users where coming from PHP and Laravel, where string templates are the norm and familiar.
- mcv 8y agoI come from Angular and I have no problem with Vue templates. I have a problem with Vue's tight coupling and lack of injectable services. I don't have a problem with React either. I try to avoid PHP.