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 😛 .
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 😛 .
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.