Reloading preview adds history states
Closed this issue · 0 comments
aomarks commented
When an iframe reloads, the parent window's history is affected. So new history states are created whenever a playground preiew reloads. I think the trick to prevent that would be to remove the iframe from the DOM before we change its src, and then attach it after.
playground-elements/src/playground-preview.ts
Line 198 in 05538da