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!
Ty Hopp • August 4th, 2022# Gatsby 5, Head API, Script API
Netlify announces the next evolution of Gatsby Cloud. Learn more
Senior Software Engineer, Framework
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!
Gatsby Senior Software Engineer Ty Hopp walks us through Gatsby's new Script Component feature.