yarn vuex 0.6.2

latest releases: 4.1.0, 4.0.2, 4.0.1...
8 years ago

New

  • store.dispatch now also supports object-format mutations. For example:

    store.dispatch({
      type: 'INCREMENT',
      by: 10
    })

    The corresponding mutation handler function will receive the object as the second argument:

    mutations: {
      INCREMENT (state, payload) {
        state.count += payload.by
      }
    }
  • store.hotUpdate now supports swapping individual modules. Previously store.hotUpdate({ modules: { someModule }}) would leave the store with only someModule, now it simply updates someModule and leaves others intact.

  • Standalone build now auto installs when global Vue is present.

Don't miss a new vuex release

NewReleases is sending notifications on new releases.