yarn vuex 1.0.0-rc.2

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

Breaking Changes from rc.1

  • The store instance no longer exposes the event emit interface (on, off, emit, off).

  • Instead of store.on('mutation', cb), a new method store.subscribe is introduced. Typical usage inside a plugin would be:

    const myPlugin = store => {
      store.subscribe((mutation, state) => {
        // do something...
      })
    }

    See example internal plugins.

Don't miss a new vuex release

NewReleases is sending notifications on new releases.