Heya!
In this post, I would like to share my recent experience of trying out Vue 3 beta version, specifically regarding some caveats you might wan...
For further actions, you may consider blocking this person and/or reporting abuse
Simple and useful, thx.
Where's the link to this "if you love Typescript,.... I'll write a separated article about it ;)" ?
Thanks for checking!
I'll post a new article in a few days, will share it here once I do!
Here is some Typescript love until the article :)
Just code examples, but it's more than nothing
Thanks
Fresh from the oven, thanks for asking!
dev.to/chenxeed/consider-vue-compo...
Using composition API will break Vetur if you’re using the template interpolation feature (where it type checks the html and verifies bound properties exists)
In addition the Vue dev tools will crash significantly more often as it does not officially support the plugin.
So if you rely on that I’d recommend not installing the plugin.
Thank you for the great article! It was very useful for me 👍
I would like to ask you for permission to translate this article into Korean and publish it on a company run blog (ui.toast.com/). I will quote the source and in no way use it to gain any monetary value.
Please let me know what you think, and hope you have a great day :)
Hi, feel free to use this article! It's my honour 👍
And if you are using vue-property-decorator?
Ah, good concern! I missed to mention it in the article above, that the Vue Class Component is also in the discussion to be available in Vue 3. I think the issue below mentioned some breaking changes to be noted:
github.com/vuejs/vue-class-compone...
Wow, the example given looks really weird with watchers being external. We use vue-property-decorator which would do things like
Just hope there are no super significant changes. We have over 925 *.vue files, all of them using vue-property-decorator
Yeah it'll be a hassle to migrate each of your vue files. Hopefully they don't deprecate the common interfaces in the new version for Vue 3.
Great writeup!
It's important that the v-model props and events are also changing along with the removal of the global Vue instance.
Very useful, thanks for the post!
Thanks! I'll come back to this article when Vue 3 is out and it's time for us to upgrade. But it's good to know what to avoid in the meantime. 💯
Thank you for your feedback!
I'll rather not do anything until Vue3 finally officially comes out. It seems to take forever.
It's just around the corner
Thanks! I'll rewatch my code.
You're welcome! Hope it helps!