digestweb.dev
Propose a News Source
Support usSponsor
🤝
Curated byFRSOURCE

digestweb.dev

Your essential dose of webdev and AI news, handpicked.

Advertisement

Want to reach web developers daily?

Advertise with us ↗

Back to Daily Feed

SolidJS 2.0 RC.9: Dynamic Elements Honor `xmlns` for SVG

Originally published on SolidJS Releases

View Original Article
Share this article:
SolidJS 2.0 RC.9: Dynamic Elements Honor `xmlns` for SVG

Summary & Key Takeaways ​

  • dynamic() and Dynamic components now respect the xmlns prop for elements like <a>, <script>, <style>, and <title>.
  • This resolves an issue where such tags were always created as HTML elements within an SVG tree.
  • The xmlns attribute is read once, untracked, at element creation, then applied as an ordinary attribute.
  • Hydration is unaffected, claiming the parser-namespaced node.
  • Types for xmlns are now accepted on these four specific tags.

Our Commentary ​

This is a pretty specific fix, but if you've ever wrestled with dynamic SVG elements in SolidJS, you know how frustrating namespace issues can be. It's good to see these edge cases getting ironed out in the RC phase. It makes the framework more robust for complex rendering scenarios.

View Original Article
Share this article:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE