Changelog History
Page 7
-
v0.18.2 Changes
- update react-async dep
-
v0.18.1 Changes
- fix IE9 not to use pathnameEnvironment by default (pushState is absent there).
-
v0.18.0 Changes
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 in
componentWillReceiveProps(nextProps)
by using values fromnextProps
.
-
v0.17.0 Changes
- 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).
- Add
-
v0.16.0 Changes
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.
-
v0.15.3 Changes
- RouterMixin doesn't specify onNavigation/onBeforeNavigation in getDefaultProps and thus allows to specify them in user code (#22).
-
v0.15.2 Changes
- Fix bug with require('./environment') using an invalid case.
-
v0.15.1 Changes
Bump react-async to 0.8.0.
Fixes to environments, now they properly unsubscribe event listeners.
-
v0.15.0 Changes
- Update react dep to 0.10.0. Fix few warnings in test suite.
-
v0.14.0 Changes
- Expose environment and environment implementations.