mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Some browsers, with some CSP configuration, will not preload a script if
the prelaod link tag does not provide a valid nonce attribute. This
change adds the ability to specify a nonce for `ReactDOM.preload(..., {
as: "script" })`
DiffTrain build for [86acc10f25](https://github.com/facebook/react/commit/86acc10f2596e1a6fe2fd57a5b325de85175800b)