react-router-component v0.29.0 Release Notes
-
- 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
elements were lost, so that
- Added optional