5 ms·
Add to that tooling compatibility issues with TypeScript & Vue
by spikej 9y ago
Add to that tooling compatibility issues with TypeScript & Vue
- CharlesW 9y agoMind elaborating? As of late, Vue's TypeScript support seems pretty nice.[1] [1] https://vuejs.org/v2/guide/typescript.html https://vuejs.org/v2/guide/typescript.html
- vanillaboy 9y agoReact has already has PropTypes, though. Just a few lines of code and you got state/context types covered, no need change your webpack config even.
- sasmithjr 9y agoUnless I'm mistaken, it only really works well within a component. You don't get prop type checking in the component hierarchy. Also, Vuex is very string-based, so you don't get payload or return type checking when you use Vuex. There are additional libraries that look to help this, but it's still an issue. I could be wrong about any of this, but those are currently the issues I'm running in to.