/gatsby-partial-hydration-starter

Example on how to implement partial hydration in Gatsby

Primary LanguageJavaScriptBSD Zero Clause License0BSD

Gatsby's Partial Hydration Starter (Beta)

Example project for the ongoing RFC: Partial Hydration.

It's part of Gatsby 5, visit the Gatsby 5 Umbrella Discussion.

🚀 Quick start

  1. Clone this Gatsby site.

    Clone this repository directly.

    git clone https://github.com/gatsbyjs/gatsby-partial-hydration-starter
  2. Install Dependencies

    cd into the project directory and run npm install:

    cd gatsby-partial-hydration-starter
    npm install --legacy-peer-deps
  3. Build and serve the site.

    For the time being the develop command is not available with partial hydration. Use the build + serve commands instead:

    npm run build
    npm run serve
  4. Open the source code and start editing!

    Your site is now running at http://localhost:9000!

🚀 Quick start (Gatsby Cloud)

Deploy this starter with one click on Gatsby Cloud:

Deploy to Gatsby Cloud

💫 Deploy

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.