Prevent synchronous scripts.
A synchronous script was used which can impact your webpage performance.
import Script from 'next/script'
function Home() {
return (
<div class="container">
<Script src="https://third-party-script.js"></Script>
<div>Home Page</div>
</div>
)
}
export default Home<script src="https://third-party-script.js" async /> <script src="https://third-party-script.js" defer />
© 2024 Vercel, Inc.
Licensed under the MIT License.
https://nextjs.org/docs/messages/no-sync-scripts