I have a component with an <iframe>
element inside.
This component is called for a route.
When the component is called, the <iframe>
element reloads the content, but I need load this content only once. For this, I will need to cancel the destroy of this component.
I tried moving this <iframe>
to <body>
element when the onDestroy
is called and reuse this when this component is called again, but when you move an <iframe>
to another parent, his content is reloaded.
Does someone have an idea of how do this?