I guess, we have forgot to add this feature https://github.com/ReactTraining/react-router/pull/3735 withRouter requires {withRef:true} option