Releases: STRML/react-router-component
Releases · STRML/react-router-component
0.19.0
0.18.4
0.18.3
0.18.2
0.18.1
0.18.0
-
breaking change Router now only prefetches async state (via react-async)
if and only if current handler's type is different from next handler's type.This now matches the behaviour of getInitialState which is only called once
for each component instance.If you have your async state dependent on props, you need to initiate async
state update incomponentWillReceiveProps(nextProps)
by using values from
nextProps
.
0.17.0
- Add
<CaptureClicks>
component to capture clicks on<a>
-elements and turn
them into in-app navigation actions. Thanks to Matthew Dapena-Tretter
(@matthewwithanm on GitHub).
0.16.0
- RouterMixin now delegates state update to setRoutingState method if it's
available. - AsyncRouteRenderingMixin now provides implementation of setRoutingState
store pendingState update in router's state. - AsyncRouteRenderingMixin now provides hasPendingUpdate() which returns t
if router has active pendingState. This fixes #23. - Handler component is now instantiated during state update.