Must-Know Reusable Module Vs Component In Vue 3 Composition API
Published in
9 min readMar 2, 2021
As a Vue.js developer, we want to keep our code clean and tidy by creating the optimal amount of reusable code.
With Composition API, we can absolutely do that by creating reusable JS modules aka hook functions and child components.
So what’s the difference between them?