google / incremental-dom

An in-place DOM diffing library
http://google.github.io/incremental-dom/
Apache License 2.0
3.53k stars 178 forks source link

Set the nonce attribute before the node is appended to DOM. #459

Closed vrana closed 3 years ago

vrana commented 3 years ago

If the node is appended to the DOM before the nonce is set then Chrome exclaims with something like: “Refused to apply inline style because it violates the following Content Security Policy directive”.