DOM resources
<script>
React 19 supports component-declared async scripts with special handling for eligible resources. Async order is not guaranteed. Only use reviewed local code, never user-provided script URLs.
Formal Syntax & Structure
react syntaxreact
<script ... />Working Example
Example Snippetreact
export default function App(){return <><script async src='/local-reviewed-fixture.js'/><p>Report</p></>}