DEV Community

Cover image for Vue 3: Options API vs Composition API
3

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?

Top comments (0)

Neon image

Next.js applications: Set up a Neon project in seconds

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Get started β†’

πŸ‘‹ Kindness is contagious

If this article connected with you, consider tapping ❀️ or leaving a brief comment to share your thoughts!

Okay