Skip to content

Replace Vuex with VueApollo in the Static Site Editor

The goal is replacing Vuex with VueApollo by wrapping existing REST APIs on client-side resolvers for queries and mutations. To understand this strategy, read the following article about wrapping REST APIs. You can also read Apollo documentation about local state management for more information about implementing client-side resolvers.

Tasks

  • Setup ApolloClient
  • Loading content’s source on the editor.
  • Editing content. !31401 (merged)
    • Create setContent client-side mutation.
    • Create contentChanged client-side state.
  • Create a client-side resolver for the submit content changes service — !31779 (merged)
Edited by Enrique Alcántara