Example project for the ongoing RFC: Partial Hydration.
It's part of Gatsby 5, visit the Gatsby 5 Umbrella Discussion.
-
Clone this Gatsby site.
Clone this repository directly.
git clone https://github.com/gatsbyjs/gatsby-partial-hydration-starter
-
Install Dependencies
cd
into the project directory and runnpm install
:cd gatsby-partial-hydration-starter npm install --legacy-peer-deps
-
Build and serve the site.
For the time being the
develop
command is not available with partial hydration. Use thebuild
+serve
commands instead:npm run build npm run serve
-
Open the source code and start editing!
Your site is now running at
http://localhost:9000
!
Deploy this starter with one click on Gatsby Cloud:
Build, Deploy, and Host On The Only Cloud Built For Gatsby
Gatsby Cloud is an end-to-end cloud platform specifically built for the Gatsby framework that combines a modern developer experience with an optimized, global edge network.