Re: [whatwg/dom] Add convenient, ergonomic, performant API for sorting siblings (#586)

@pygy you just rewrote my initial comment around making this API more generic, and all your algorithms are already part of udomdiff, domdiff, majinbu, or speedy Mayern approach I’ve explored, but like I’ve demoed already, those are implementation details and this API already provides a way to diff natively. The only point I fully agree is the “node not leaving the DOM while sorted” so I’m plus 1 on iframes and focused elements, to name a few, not re-initializing themselves, same way diffing already works in every modern library, but I don’t know full constraints behind this expectation 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/586#issuecomment-1424557491

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/586/1424557491@github.com>

Received on Thursday, 9 February 2023 17:30:13 UTC