jmurzy / jmurzy/react-router-native
Router not passed to children
Open
- Dominant language
- JavaScript
- Stars
- 639
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm using your package for an hybrid app working on both browser and mobile and I've discovered that this.props.router is undefined when on mobile when calling console.log(this.props) in the render method of a Route :
Using ReactRouter

Using ReactRouterNative

I've fixed the problem temporarily by using withRouter.
I'm using nativeHistory on mobile and browserHistory on browser
Contributor guide
Assessment
This issue has not been assessed yet.