Skip to content

RouteDispatcher

Compare
Choose a tag to compare
@msumme msumme released this 06 Jul 22:46
· 18 commits to master since this release

Add a routeDispatcher that wraps actionDispatcher to provide a consistent API in RouteProvider context that works with actiondispatcher context.

Allows routeDispatcher to receiveRoute and addRouteListener which translate route -> action and action -> route as appropriate (i.e. {routeName: foo} => {type: foo})

Multiple paradigms of updating routes and actions supported with underlying actionDispatcher.