DEV Community

Cover image for Vue 3: Options API vs Composition API
David MM🐍
David MM🐍

Posted on

Vue 3: Options API vs Composition API

I used to use Vue to create my FrontEnds and, after one year and a half without using it, I'm re-learning it.

The first thing that hit me, was that Vue 3 finally was a reality. I used the 2nd version, now I'm learning the 3rd.

Right now I'm learning about the Composition API and I have a few questions that I would like to solve by Vue3 users:

1) Do you use Composition API in your day to day?
2) If yes, in which cases do you use Composition API? In which ones, the Options API?
3) What are the drawbacks of the Composition API over Options? And benefits?

Discussion (0)