DEV Community


Discussion on: Vue 3's Composition API and the segregation of concerns

jasmin profile image
Jasmin Virdi

Good job on the article. 👍

I recently used Vue Composition API in one of my projects. It took some time for me to grasp it as I have been working on Vue for like almost 2 years.
The thing I liked about it is definitely the modularity it adds to the code. It becomes easy to work with mixins as now we can import only the useful functions which are required in a file.

The thing we need to take off is the imports for ref, computed, mounted, etc for implementing the behavior 😛 .

thomasferro profile image
Thomas Ferro Author

Thanks !

I too like the improved modularity. It really helps reduce the cognitive load since you only have to know what you are using, not how it all work.