FrontendDeveloper.in

Vue.js Track Detail

What are the principles enforced by vuex?

Vuex enforces below high-level principles,

  1. The Application-level state need to be centralized in the store
  2. The state should be mutated by committing mutations only(i.e, for synchronous transactions)
  3. The actions should be used for asynchronous transactions.