Browser compatibility and IE support for JavaScript functions

Raxel Gutierrez raxel at google.com
Wed Aug 4 06:40:39 AEST 2021


Hi,

I want to use this fairly new JS function `Element.replaceChildren()` [1]
to replace error/update messages. Looking at browser stats, it seems pretty
compatible but it doesn't work with IE. How should browser compatibility be
approached?

Also, https://caniuse.com/?search=replaceChildren.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren

[2] https://www.stetic.com/market-share/browser/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20210803/9ba6686e/attachment.htm>


More information about the Patchwork mailing list