DEV Community

loading...

Discussion on: Do you need to use the Vue Composition API?

Collapse
seangwright profile image
Sean G. Wright

How do you feel about the option to backport the composition API to existing Vue 2 apps using the official npm package?

I like the composition API a lot as well, and I especially love the ability to organize code based on feature, not based on what part of the Vue component DSL you need to add your functionality in (method vs data vs computed, ect...).

Collapse
brattonross profile image
brattonross Author

I've spent a bit of time playing with it so far and enjoyed using it. It seems like currently since the Vue 3 release is still in pre-alpha, the team aren't committing too much time to it. I'm hoping that once Vue 3 is officially released we'll see the Vue 2 plugin updated as well.

The organization of code by logical concern is something that I'm looking forward to as well!