boring-router
Advanced tools
Changelog
[0.2.0] - 2018-9-2
<Link>
component now does history.push()
by default. A new boolean parameter replace
is added to override the behavior with history.replace()
.<Redirect>
component now does history.replace()
by default. A new boolean parameter push
is added to override the behavior with history.push()
.<Link>
and <Redirect>
component now supports only RouteMatch
as value of to
parameter, and <HistoryProvider>
is now removed.$navigate
method of RouteMatch
is now removed in favor of $push
and $replace
.<Redirect>
component no longer accepts match
parameter with type boolean.