Problem
In order to migrate the Mismatch Finder's code base away from Vue 2 to Vue 3 and avoid the consequences of Vue 2's EOL, we will have to migrate various peer dependencies such as Vuex (@3.6.2).
Solution
As part of the preparation work to migrate the Mismatch Finder's front-end from Vue to Vue Compat layer, we'll replace Vuex by Pinia. The latter store library brings certain advantages, such as a simpler API or better Typescript support.
Acceptance criteria
- Install @vue/composition-api
- We migrate from Vuex to Pinia
- Typescript incompatibilities are fixed
- Relevant code points are updated
Notes
- Here's the Vuex to Pinia migration guide for reference