SolidJS @solidjs/html@2.0.0-rc.22
This prerelease adds `setTrustedTypesPolicy(policy)` to support rendering on pages that enforce Trusted Types for scripts. The supplied policy’s `TrustedHTML` is used for compiled template markup, server HTML parsed by the client, and `html` tagged-template text decoding; the function is a no-op on the server and has no effect for apps that do not call it.
Applications running under Trusted Types enforcement are affected if they need to render; they can pass a Trusted Types policy to the new API, while other applications are unchanged.
For applications enforcing Trusted Types, create a Trusted Types policy and pass it to `setTrustedTypesPolicy(policy)`.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.