Fading Coder

One Final Commit for the Last Sprint

Building Flexible Vue 2 Applications with Dynamic Components, Slots, and Custom Directives

Dynamic Components in Vue 2 Vue provides a <component> element specifically designed for rendering components dynamically. When switching between components, the default behavior destroys inactive components, meaning any state or data is lost when a component is toggled off and back on. Preser...

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...