---
"effect": patch
---
`HtmlServer.document` now adds the CSP nonce, from `HtmlServer.Nonce` through the new `Rendered.nonce` or from `{ nonce }` (`""` suppresses it), to the hydration state script, and replaces `noncePlaceholder` in the template with it. `virtual:effect/ui/document` defaults `noncePlaceholder` to Vite's `html.cspNonce`, while direct callers pass their own.