v1.0.0-rc.2
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 methodstore.subscribe
is introduced. Typical usage inside a plugin would be:const myPlugin = store => { store.subscribe((mutation, state) => { // do something... }) }