Hacker News new | past | comments | ask | show | jobs | submit login

> In Vue you also write `string | undefined` since Vue 3.

I took that example from the current official Vue 3 docs: https://vuejs.org/guide/typescript/overview#general-usage-no...

> Also note that the thread you linked is 4 years old.

So 2 years into Vue 3. Has anything changed?

I mean it's not bad enough to be a dealbreaker any more like it was with Vue 2. The real dealbreaker is still the reactivity system which leads to spaghetti very quickly.




> I took that example from the current official Vue 3 docs:

Yes, that API also exists as compatibility with the Options API, but this is what you should use:

https://vuejs.org/guide/typescript/composition-api.html#typi...

> So 2 years into Vue 3. Has anything changed?

Yes, e.g. templates are type-checked now. If you have specific things that aren't supposed to work, please list them.

> The real dealbreaker is still the reactivity system which leads to spaghetti very quickly.

I've had much better experiences with Vue than with React in this regard.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: