Did you know that @chromium recently did some work to ensure that `document.importNode` and `Node.cloneNode` delivered a similar performance profile? They did!

That means that built to be compatible with the web can leverage `document.importNode()` for templated content with custom elements which will get optimistically updated. Win, win.

Seems like something that @mdnMDN Web Docs would benefit in sharing with the world, right?

github.com/mdn/content/pull/41

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/westbrook/statuses/115583138245715858 on your instance and quote it. (Note that quoting is not supported in Mastodon.)