Page MenuHomePhabricator

new-lexeme-page repo: Setup Vuex as a state store
Closed, ResolvedPublic3 Estimated Story Points

Event Timeline

Michael renamed this task from new-lexeme-page repo: Setup Pinia as a state store to new-lexeme-page repo: Setup Vuex as a state store.Feb 9 2022, 11:56 AM

Task breakdown notes:

  • We prefer to use VueX4 eventually as there is less overhead from potential security review.
  • We want to set up VueX4 so that we can cache/store any lookup state that results from the entity lookup API call.

Plan of action:

  • Install VueX4
  • Check that VueX + Vue is properly externalized and make it so if this is not the case
  • Create the recommended directory structure (action/mutations etc. [Documentation Link TBD]())
  • Hook up VueX into the main App component with a simple example (an incrementor for instance)