Blocked by T359828
Problem
In order to migrate the Query Builder'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 (@4.0).
Solution
As part of the preparation work to migrate the Query Builder'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
- We migrate from Vuex to Pinia
Notes
- Here's the Vuex to Pinia migration guide for reference
- Considerations for the migration:
- Typescript incompatibilities are fixed
- Relevant code points are updated