[Vuejs]-What's the best way to have API calls happen at different times?

0👍

You can just chain them with then and they will run one after another:

   this.$store.dispatch('undoButton', this.undoBtnAPI).then(()=>{
       this.$store.dispatch('getSQLData', this.apiQuery)
   })

Leave a comment