Skip to content

v4.0.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 14 Dec 18:23
· 53 commits to master since this release

Breaking Change

  • The router/ROUTE_CHANGED mutation now sends the payload in the shape of { to, from } instead of just the to route. Although this is a breaking change, no actions are required unless you are explicitly listening to this mutation in a custom plugin.

New

  • The route state now exposes the meta property of the current route (@scottbedard via #32)

  • The route state now exposes the from route (@predhme via #36)

  • You can now configure a custom route module name (@vinicius73 via #37):

    sync(store, router, { moduleName: 'RouteModule' })