In my app, I\'d like to match both the path and the hash to different components. For example:
/pageA#modalB
Would show PageA as the main page
Not out of the box, but the beauty of React Router 4 is that it's incredibly easy to implement this yourself.
let HashRoute = ({ component: Component, path, ...routeProps }) => ( location.hash === path && } /> )