Fading Coder

One Final Commit for the Last Sprint

Preserve iframe State Across Vue Route Changes Without Reloading

Vue’s built-in keep-alive caches component VNodes and instances, but it cannot prevent an iframe’s document from reloading. An iframe hosts an independant browsing context; each time its DOM node is mounted, the embedded page is loaded anew. Caching the VNode does not capture the iframe’s internal d...