You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 over childProps or
properties defined on the Route.