You need to pass location/pathname/params explicitly as props to child components.

react-router currently provides context.router which will help you navigate forward and backward but it doesn't give you the details of the current route. In earlier versions, there used to be context.location and context.router.getCurrentRoutes but they were both deprecated in v2.0.0-rc4.

Changed context exports

Only an object named router is added to context. Accessing context.history, context.location, and
context.route are all deprecated.

Accessing location

Access location from this.props.location of your route component.
If you'd like to get it deeper in the tree, you can use whatever
conventions your app has for getting props from high down low. One
option is to put it context yourself