react/packages/react-dom-bindings
Josh Story b12bea62d9
Preinits should support a nonce option (#26744)
Currently there is no way to provide a nonce when using
`ReactDOM.preinit(..., { as: 'script' })`

This PR adds `nonce?: string` as an option

While implementing this PR I added a test to also show you can pass
`integrity`. This test isn't directly related to the nonce change.
2023-04-28 15:57:39 -07:00
..
src Preinits should support a nonce option (#26744) 2023-04-28 15:57:39 -07:00
package.json Move react-dom implementation files to react-dom-bindings (#25345) 2022-09-28 19:05:50 -04:00