Releases: STRML/react-router-component
Releases · STRML/react-router-component
0.9.2
- Fix recalculating router's state on new props
0.9.1
- Fix hash router to normalize path correctly ('' coerces to '/')
0.9.0
- Custom routers can now have access to per-navigation params via
this.state.navigation
. For example navigation occurred as a result of
popstate/hashchange event no has this.state.navigate.isPopState
set to
true
.
0.8.0
globalHash
property for Link
to force it to navigate using
hashEnvironment
0.7.0
-
Router component now waits for async components (via react-async) before
updating itself
-
remove Hash namespace, use hash
prop instead:
...
-
RouterMixin now doesn't access this.props.children directly but instead gets
routes via getRoutes() method
-
rework NavigatableMixin: add getPath(), navigate(path, cb), makeHref(path)
methods, remove getRouter() method
-
add AsyncRouteRenderingMixin
-
add RouteRenderingMixin
-
Link components now generate valid href when instantiated inside contextual
routers
-
Link components now accept global
prop to create a link which is forced to
operate outside of a local router's context
0.6.0
- factor out RouterMixin for reusability
- expose environment
0.5.1
- fixes for server side rendering
- browser test suite refactored to use ReactTestUtils
0.5.0
- Location now passes all props to its handler (except "path" and "handler"
which are reserved for Location)
0.4.0
- Link component can now communicate with the router (of the default
environment) outside of router context
0.3.2
- do not pollute history with duplicate entries (breaks forward button
behaviour)