Re: [whatwg/dom] Proposal: ParentNode.replaceChildren() (#478)

replaceChildren() is a bit confusing because it actually replaces all descendants... I think we should research precedent in user-space libraries. There's of course the ever-popular https://api.jquery.com/replaceAll/#replaceAll-target , which points toward the original replaceAll suggestion.

I also think short names are worth preserving; if the point of this function is ergonomics anyway, it's probably a good idea to keep them short.

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

Received on Wednesday, 3 April 2019 19:28:01 UTC