A Look at Partial Hydration in Gatsby 5
Gatsby 5 is coming soon– the Alpha is live, and we’ve touched on a bunch of new features in Gatsby 5 in Tuesday’s Update Week post. But now I’d like to focus on one feature in particular: partial hydration. We’ll go over what it is, how it is implemented in Gatsby 5, the benefits of partial hydration, and look into how to use it.
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!
Introducing the Gatsby Head API
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.
Using Gatsby Script Component to Decrease Page Load Times
Gatsby Senior Software Engineer Ty Hopp walks us through Gatsby's new Script Component feature.