Looking to incorporate third-party content in the form of an HTML page within my own website, I considered utilizing iframes. This would allow me to embed the external HTML page within my site while keeping their libraries and CSS separate from mine.
However, a new challenge has arisen. Implementing browser Back/Next functionality for navigation within the iframe is proving to be complex due to routing issues. Additionally, maintaining the state of the iframe when the parent page is refreshed poses another obstacle.
Given these challenges, is the iframe approach still the best solution? And if so, how can I address the issue of Browser Back/Next functionality?