Releases: STRML/react-router-component
Releases · STRML/react-router-component
0.31.4
0.31.3
0.31.2
0.31.1
0.31.0
0.30.1
0.30.0
0.29.2
0.29.1
0.29.0
- Added optional
childProps
hash to the Router. If this is specified, these props will be passed to all
handlers, contextual routers, and their children. Props defined on a handler or Route directly have priority.
This fixes #104. - Possibly Breaking Change/Bugfix:
- We allow passing an actual element as a handler, not just a component. Previously, props on these
elements were lost, so that<Location handler={<div className="foo" />} />
would render<div></div>
.
This was unintentional and these inner props are now preserved and have priority overchildProps
or
properties defined on the Route.
- We allow passing an actual element as a handler, not just a component. Previously, props on these