Live data from Hacker News

Vue: We no longer have any plan of deprecating the Object API

github.com

1–10 of 34 posts

Re: Vue: We no longer have any plan of deprecating the Object API

#3
I'm glad they listened, and after reading more into some of the use cases there are times in which having this function api could be very helpful to group certain parts of the code together.

https://dev.to/stefandorresteijn/vuejs-is-dead-long-live-vue...

Re: Vue: We no longer have any plan of deprecating the Object API

#5
post #4

Glad this is a publicly funded small team project that responds to its users rather than trying to push developer agenda on everyone.

I'm just glad they listened.

In many ways Vue is a spiritual descendant of KnockoutJS (except cleaner because the web platform had moved on) and those folks where amazing for compatibility relative to everyone else.

Changing everything ever version is definitely not what I want from Vue, there are plenty of frameworks already doing that and it's just tiresome after a while.

All in all it's a decision I'm pleased they made.

Re: Vue: We no longer have any plan of deprecating the Object API

#6
I have to admit - I had the same reaction that many people had when the function api first appeared ("what is this insanity and why are you breaking everything i love").

But I read through, checked out the new (simpler) example, read Evan's arguments about logical task grouping, and on a second read with a more-open mind, I actually kind of like the new syntax and am now looking forward to trying it out.

I'm glad they agreed to keep the object syntax around though :)

Re: Vue: We no longer have any plan of deprecating the Object API

#7

I'm glad they listened, and after reading more into some of the use cases there are times in which having this function api could be very helpful to group certain parts of the code together. https://dev.to/stefandorresteijn/vuejs-is-dead-long-live-vue...

It was never definitive, just a proposition they had put forth looking for feedback on

Re: Vue: We no longer have any plan of deprecating the Object API

#8
I was pretty worried, both by the deprecation of the Object API, and if the Vue team would listen to feedback on RFCs (and change parts if necessary).

Very glad to see that both points turned out well. I was really not looking forward to trying to find/learning yet another JS framework.

Re: Vue: We no longer have any plan of deprecating the Object API

#9
post #6

I have to admit - I had the same reaction that many people had when the function api first appeared ("what is this insanity and why are you breaking everything i love"). But I read through, checked out the new (simpler) example, read Evan's arguments about logical task grouping, and on a second read with a more-open mind, I actually kind of like the new syntax and am now looking forward to trying it out. I'm glad the…

My favourite part is the re-usability of the functions it encourages and the fact it breaks up the core Vue into individual functions (instead of one big module with options) which means Webpack can tree-shake not only your code but Vue's, resulting in far smaller libraries.

Edit: After reading deeper it looks like the "lean" version of the library with full tree-shaking stuff is taking a backseat and they hope to provide some better library reduction in the future :/

Post reply on HN