gatsbyjs / gatsby-partial-hydration-starter

Example on how to implement partial hydration in Gatsby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Example on how to implement partial hydration in Gatsby

License:BSD Zero Clause License


Languages

Language:JavaScript 71.8%Language:CSS 21.5%Language:TypeScript 6.6%