boring-router-react
Advanced tools
Changelog
[0.3.13] - 2020-7-6
$before/will/afterEnter
, $before/will/afterUpdate
, $before/will/afterLeave
; added $before/will/afterEnterOrUpdate
as shortcut for $before/will/afterEnter
and $before/will/afterUpdate
.$service
.RouteBuilder
.$metadata
support.Router.create()
is removed in favor of new Router().$route()
.fragment
has been changed to segment
./account
, and route account
has $children
, account
will not be matched by default. An option $exact
is added for this scenario, and applies only to route schema with $children
.RouteMatch#$action
has been removed, see hooks for alternatives.RouteMatch#$ref()
, RouteMatch#$push()
, RouteMatch#$replace()
methods is now an option object.preserveQuery
is now removed, but the behavior has changed to preserve query defined with $query
(and its parents).RouteMatch#$beforeEnter
, RouteMatch#$afterLeave
) is now a removal callback.<Redirect>
component has been removed.`