Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
westbrook
@westbrook@mastodon.social  ·  activity timestamp 3 weeks ago

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 #frameworks 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 @mdn would benefit in sharing with the world, right?

https://github.com/mdn/content/pull/41441

#webDev #performance #webComponents

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login