React-router within Atlassian Connect App

I have successfully managed to use react-router in my React based Atlassian Connect app. The navigation works as intended. However, since only the iframe URL changes, whenever you reload the site, the navigation for the iframe resets to the index.

How can I preserve my navigation inside the Connect App upon page reload?