Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js 3 Masterclass

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

🔮 FTF - From Options to CAPI

In this lesson, learn about the alternative API for interacting with Vue’s reactivity system: the composition API. In Vue 3, the composition api was added to the existing options API for a few reasons:

  1. to provide better logic reuse across components
  2. to provide more flexible code organaization for long/complex components
  3. and add better TypeScript support

Overtime though, developers started just using the composition API everywhere. Checkout this video to learn how you can proceed with the composition API during this course, if you so choose.