You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When context with state is provided to the template renderer an inline script is created. It may be useful to provide a nonce that gets attached to the script tag so an unsafe-inline CSP doesn't have to be enabled.
What does the proposed API look like?
renderer.renderToString({
state: {},
nonce: ''
})
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
When context with state is provided to the template renderer an inline script is created. It may be useful to provide a nonce that gets attached to the script tag so an unsafe-inline CSP doesn't have to be enabled.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: