All jobs / Frontend / web developer / Vue

Frontend / web developer interview question · 5+ years

A five-year-old Vue codebase is on Vue 3 but written entirely in the Options API with mixins and Vuex. Some engineers want a full rewrite to the Composition API and Pinia.

What is your call?

The strongest answer

No rewrite. Both APIs are supported, so new code uses Composition API; mixins become composables when their components are touched; Vuex moves to Pinia module by module; effort goes where change is frequent

Why it works

Exactly — the Options API is not deprecated, so the migration is a choice, not an emergency. Spend it where mixins hurt and the code changes often.

What a good answer covers

Answers that fall short

Who gets asked this

More Vue questions