Starting with Next.js v11, Vercel recommends to inject scripts using next/script as opposed to using a <script /> tag inside of next/head. See deprecation warning at the bottom of the next/head docs.
If you agree, I'm happy to open a PR addressing this.
Starting with Next.js v11, Vercel recommends to inject scripts using
next/script
as opposed to using a<script />
tag inside ofnext/head
. See deprecation warning at the bottom of the next/head docs.If you agree, I'm happy to open a PR addressing this.