Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Script): allow passing defer=false to Script component (#34850)
## Bug ```jsx <Script async defer={false} strategy='beforeInteractive' src='https://securepubads.g.doubleclick.net/tag/js/gpt.js' /> ``` output: ```html <script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" async="" defer="" data-nscript="beforeInteractive"></script> ``` The `defer` prop is overridden by `!disableOptimizedLoading`, so can't disable it on the particular script.
- Loading branch information