A couple common attributes:
<Scripts crossOrigin>
<Scripts nonce>
<script>
You cannot pass through attributes such as async, defer, src, type, noModule because they are managed by React Router internally.
async
defer
src
type
noModule
A couple common attributes:
<Scripts crossOrigin>for hosting your static assets on a different server than your app.<Scripts nonce>to support a content security policy for scripts with nonce-sources for your<script>tags.You cannot pass through attributes such as
async,defer,src,type,noModulebecause they are managed by React Router internally.