When using `window.onerror` in the bootstrap script that is hosted in a CDN the error message will show `"Script error."` instead of a proper error message. This is because of the [cross-origin](https://blog.sentry.io/2016/05/17/what-is-script-error/) script. To fix this issue a `crossorigin="anonymous"` attribute needs to be added in the script tag.

Currently, `bootstrapScripts` supports [`src` and `integrity`](https://github.com/facebook/react/blob/0fce6bb498357feb4465859912004b2e20fe7084/packages/react-dom-bindings/src/server/ReactDOMServerFormatConfig.js#L226) as configurations, should it also supports a `crossorigin` property?


case 'rendered': {
            const differenceDescription = describeDifferencesForScripts(
              
              props,
              devResource.__originalProps,
            );
            if (differenceDescription) {
              console.error(
                'React encountered a <script async={true} src="%s" .../> that has props that conflict' +
                  ' with another hoistable script with the same `src`. When rendering hoistable scripts (async scripts without any loading handlers)' +
                  ' the props from the first encountered instance will be used and props from later instances will be ignored.' +
                  ' Update the props on both <script async={true} .../> instance so they agree.%s',
                src,
                differenceDescription,
              );
            }
            break;
          }
          case 'preinit': {
            const differenceDescription =
              describeDifferencesForScriptOverPreinit(
                
                props,
                devResource.__propsEquivalent,
              );
            if (differenceDescription) {
              console.error(
                'React encountered a <script async={true} src="%s" .../> with props that conflict' +