Re: [whatwg/dom] Atomic move operation for element reparenting & reordering (Issue #1255)

I'm a month late to the party, but I too am excited about this proposal! For certain scenarios -- especially ones involving an iframe -- the ability to re-root an iframe could vastly improve perceived performance and overall user experience.

For the specific product that I am working on, the specific cases that we are envisioning using this for are:

* Primary use-case: load an iframe invisibly in the background (based on a heuristic of the user eventually needing it) so that when the user clicks on a button to view the iframe, we can swap in the already-loaded iframe much quicker than if we were to load from scratch.
* Secondary use-case: allow moving an already user-visible iframe from one spot in the DOM into another.

Looking forward to seeing this proposal come to life!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1255#issuecomment-2064766368
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1255/2064766368@github.com>

Received on Thursday, 18 April 2024 18:00:22 UTC