I like vue, but the last time I used it with typescript it was pretty clunky. React has much better typescript support, as it type checks all props, even complex objects.
Vue 3.2
31–40 of 153 posts
Re: Vue 3.2
#32I like vue, but the last time I used it with typescript it was pretty clunky. React has much better typescript support, as it type checks all props, even complex objects.
Re: Vue 3.2
#33Re: Vue 3.2
#34The js-framework-benchmark used here is really hard to run. I'm not a javascript programmer, I'm always baffled that any of the command listed in the README page always end up in error. I even re-install a new version nodejs but can't make the benchmark run.
Re: Vue 3.2
#35Re: Vue 3.2
#36I like vue, but the last time I used it with typescript it was pretty clunky. React has much better typescript support, as it type checks all props, even complex objects.
The typescript support has immensely improved in vue3. The entire vue3 codebase is even written in typescript.
Re: Vue 3.2
#37Also, I think I do prefer working with JSX versus using html templates. I prefer that close coupling of JS logic and JSX presentation.
The most appealing thing about Vue is that it seems to be more of a framework, maybe somewhere in the middle between base React/ReactDOM and Next.js.
Re: Vue 3.2
#38I just started cobbling together a demo jquery app mess into a vue3 app yesterday, and lemme tell ya, the docs are great, and I even got from 0 to VueX in few hours today. I'm impressed. Great work Vue team. I'm normally hesitant to adopt a new version of a library when learning and expected to get bitten by a few more things but so far seems mature, stable, and well done. Edit: That said, I'm still personally not in…
The one page vue file made a lot of sense to me off the bat, sort of implying that the component is a singular "encapsulated" entity, at least thats my own mental model. Turns out it was completely wrong but it worked.
Re: Vue 3.2
#39This means instead of doing `dispatch("action")` you just call `action()`.
When using Typescript this is a godsend, as the action functions keep all of their type information.
Re: Vue 3.2
#40Earlier quoted context omitted.
The typescript support has immensely improved in vue3. The entire vue3 codebase is even written in typescript.
I tried vue3 and all the associated stuff like vuex and the router last month. Vuex especially has extremely poor support even if it is written in TS. I believe the next version will have better support for TS. Just writing vue wasn't much of an issue but there's not enough support for it in the templates. I believe there's VSCode extensions that help