React router Link component inside IFrame passing hash to parent

I have an application inside an iframe and want to manage state with a router to simplify things and make the codebase reusable towards a web app. For some reason I can’t find in the docs, using the link component within the iframe takes the hash up to the parent window instead of changing the window specific to the iframe, is there a parameter I’m missing? I’m using hashHistory