I came to the kind of anyoing problem. So, I have a component in react
and also using react-router
. Everything works almost great. This component has a list of items, when you click on one, it pushes url to the iframe[src={url}]
. And here appears the problem, if I will click on several items and then click on the previous page/back button, instead of going to the previous page, it just shows the previous iframe of url that was pushed to iframe.
What do I do in this situation?
@I'm using react-router-dom v4