mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
b437e4d88bf0a38bb3884cbb41760b6b47ea165a
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)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%