Scripts and the Head: What Goes Where?
When should scripts be put in the Gatsby Head and when should they be loaded by the Gatsby Script component in your pages or components? Let's dig in!

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched
When should scripts be put in the Gatsby Head and when should they be loaded by the Gatsby Script component in your pages or components? Let's dig in!
The Gatsby Head API — available in gatsby@4.19 or later — enables you to update the document head of your page without any third-party library. This feature is built in such a way that it’s 100% compatible with React’s suspense/streaming capabilities.