Page MenuHomePhabricator

Use Pinia for state handling
Open, Needs TriagePublic

Description

Currently, we're using Vuex for state handling across components, which is not very type safe:

  • mapState functions can't be typed
  • dispatch action names are strings and payloads are not typed

When we no longer support IE11, we should migrate to Pinia, because it's the recommended successor to Vuex and officially endorsed state management library for Vue.

Event Timeline

gabriel-wmde renamed this task from Improve state handling type safety in laika components to Use Pinia for state handling.Aug 12 2022, 2:26 PM
gabriel-wmde added a project: Epic.
gabriel-wmde updated the task description. (Show Details)
gabriel-wmde moved this task from Backlog to Important Epics on the WMDE-Fundraising-CFR board.