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 HTML 2.0.0-rc.22: Trusted Types Policy Support

Worth Reading

Originally published on SolidJS Releases

View Original Article
Share this article:
SolidJS HTML 2.0.0-rc.22: Trusted Types Policy Support

Summary & Key Takeaways ​

  • A new setTrustedTypesPolicy(policy) function is introduced.
  • This allows Solid to render on pages enforcing require-trusted-types-for 'script'.
  • The runtime assigns TrustedHTML from the provided policy for compiled templates and server HTML.
  • It's a no-op on the server, supporting isomorphic applications.

Our Commentary ​

Trusted Types support is a big deal for web security, especially in enterprise environments. It's great to see SolidJS integrating this, making it easier for developers to build secure applications that comply with strict content security policies. This is a solid step forward for the framework's robustness.

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