DEV Community

loading...

Discussion on: Vue composable - array pagination

Collapse
lukaszahradnik profile image
Lukáš Zahradník

Thank you for your reply. I appreciate that you didn't just throw in the argument about composing by option vs logic parts.

I agree with the collisions, merge strategies issues and simpler testability, but I'm not so sure about the IDE support, at least when it comes to TypeScript and class-based components. When extending class with Mixins(MyMixin), IDE recognizes the content of the MyMixin (don't know if it works with JavaScript).

I'm not a big fan of mixins myself, I prefer composing code by logic using components. My main issue with the composition API is that I haven't seen the use case yet, where it would make a big difference using composition API vs current features (components, mixins etc.)