Git Product home page Git Product logo

hydrogen's Introduction

Hydrogen Logo

MIT License npm downloads

📚 Docs | 🗣 Discord | 💬 Discussions | 📝 Changelog

Hydrogen is Shopify’s stack for headless commerce. It provides a set of tools, utilities, and best-in-class examples for building dynamic and performant commerce applications. Hydrogen is designed to dovetail with Remix, Shopify’s full stack web framework, but it also provides a React library portable to other supporting frameworks.

Hydrogen Legacy v1

Hydrogen legacy v1 has been moved to a separate repo and the docs can be found here.

Getting started with Hydrogen

Requirements:

  • Node.js version 16.14.0 or higher
  • npm (or your package manager of choice, such as yarn or pnpm)
  1. Install the latest version of Hydrogen:

    npm create @shopify/hydrogen@latest
  2. Run the local development server:

    npm install
    npm run dev
  3. Open your new Hydrogen app running at http://localhost:3000.

See the complete Hydrogen docs.

Packages in this repo

Hydrogen is organized as a monorepo, which includes multiple packages that can be used together.

Package Latest version Description Readme
@shopify/hydrogen Latest badge Opinionated tools, utilities, and best-in-class examples for building a commerce application with Remix. Readme
@shopify/hydrogen-react Latest badge Unopionated and performant library of Shopify-specific commerce components, hooks, and utilities. Readme
@shopify/cli-hydrogen Latest badge Hydrogen extension for Shopify CLI. Readme
@shopify/create-hydrogen Latest badge Generate a new Hydrogen project from the command line. Readme
@shopify/hydrogen-codegen Latest badge Generate types for Storefront API queries automatically. Readme
@shopify/remix-oxygen Latest badge Remix adapter enabling Hydrogen to run on the Oxygen runtime. Readme
@shopify/mini-oxygen Latest badge A local runtime for Hydrogen apps that simulates the Oxygen production environment. Readme

Versioning

Hydrogen and hydrogen-react are tied to specific versions of the Shopify Storefront API, which follows calver.

For example, if you're using Storefront API version 2023-01, then Hydrogen and hydrogen-react versions 2022.1.x are fully compatible.

If the Storefront API version update includes breaking changes, then Hydrogen and hydrogen-react may also include breaking changes. Because the API version is updated every three months, breaking changes could occur every three months.

Learn more about API release schedules at Shopify.

Contributing to Hydrogen

Read our contributing guide

Other handy links

Learn more about Hydrogen.

hydrogen's People

Contributors

frandiox avatar jplhomer avatar juanpprieto avatar blittle avatar wizardlyhel avatar lordofthecactus avatar shopify-github-actions-access[bot] avatar frehner avatar benjaminsehl avatar github-actions[bot] avatar michenly avatar cartogram avatar gfscott avatar graygilmore avatar aswamy avatar scottdixon avatar pepicrft avatar dependabot[bot] avatar vincentezw avatar isaacroldan avatar ryanflorence avatar davecyen avatar zwyx avatar remcolakens avatar rafaelstz avatar quintonc avatar mcvinci avatar jacob-ebey avatar bradmurchison avatar benwolfram avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.