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. J
Josh Story committed
b12bea62d9cfd9a925f28cb2c93daeda3865a64e
Parent: efbd685
Committed by GitHub <[email protected]>
on 4/28/2023, 10:57:39 PM