< Back


18 Oct, 2023

Shopify Headless Commerce: An intro to Hydrogen

Shopify, the powerhouse of eCommerce, has always been a go-to choice for online store creators.

It's like the Swiss Army knife of the retail world, making it a breeze for developers to design and manage stores while providing a flexible and innovative environment for creativity.

But what if you crave even more freedom and flexibility? Enter Shopify Hydrogen, the brainchild of Shopify and headless commerce pioneer, Sanity.io.

Shopify + Sanity - How Hydrogen came to be

Sanity.io is our CMS of choice at Flight, for so many reasons. And we’re not the only ones who think so; Shopify invested in Sanity last year after the two industry leaders worked closely on the Hydrogen beta.  Shopify had actually approached Sanity asking them to  create the content application for a new developer ecosystem they were building. And when Shopify unveiled that new ecosystem, Sanity simultaneously launched its new Shopify integration as the first and only CMS integration on the Hydrogen app store.

So, what's the deal with Shopify Hydrogen, and how can it supercharge your business?  We've got you covered with everything you need to know.

Hydrogen 101 - What is it, and why now?

Shopify's Liquid framework has been the backbone of most Shopify stores, offering a blend of power and convenience. However, as the eCommerce landscape evolves, developers increasingly yearn for more flexibility. That's where Hydrogen comes in.

Before Hydrogen, alternatives did exist, but they often meant sacrificing something: either getting stuck with rigid templates or starting from scratch. Shopify wanted to change the game, and thus, Hydrogen was born. It's like a shot of adrenaline for development timelines and a breeding ground for creativity and innovation.

Real-life example: Imagine you run a high-end fashion brand. With Shopify Hydrogen, you can effortlessly customise your storefront to match your brand's identity, ensuring a seamless shopping experience for your customers.

The benefits of Shopify Hydrogen

Now, let's dive into why Hydrogen is a game-changer. While it might seem a bit more complex and developer-focused compared to the trusty Liquid framework, it offers a treasure trove of benefits for professionals, too.  Eliminating time-consuming and poor technical components, it is ideal for those looking to follow UX/UI design  best practices.

Created by the experts behind the Shopify ecosystem, Hydrogen directly responds to a number of complex issues commonly faced by developers using the Shopify storefront API. For instance, the server-side streaming allows for faster rendering, and React Server Components allow for efficient post-render state changes at a component level.

There’s a built-in smart cache functionality for client and server data fetching primitives. Plus, for dynamic and edge-based delivery, developers can set flexible caching settings for pages.

Some of the major benefits of Shopify Hydrogen include:

Speed:  Hydrogen provides a ready-made template for crafting custom stores that are simple, agile, and user-friendly. It seamlessly integrates with Shopify, ensuring top-notch user experiences.

Performance: By using separate server and client server components, along with minimal JavaScript, Hydrogen optimises website loading times, delivering exceptional performance.

Flexibility: Hydrogen allows developers to split their website into "head" elements visible to consumers and the rest, granting unparalleled freedom for experimentation with content and layout modifications.   Unlock new levels of productivity with starter templates, pre-built components, hooks, utilities all mapped to Shopify APIs. Then deploy at no cost on Oxygen, Shopify’s global hosting solution.

Personalisation:  A React-based storefront enables dynamic content display, tailoring online shopping experiences to individual needs. You can use content blocks to make product recommendations based on user data.

Unique Experiences: Hydrogen's flexibility in UX/UI design empowers developers to create efficient and reliable strategies for extraordinary user experiences.

The future of Shopify Hydrogen

At its core, Shopify Hydrogen is a robust framework tailored for crafting unique storefronts. It equips developers with a comprehensive toolkit designed to seamlessly integrate with Shopify's ecosystem. While Shopify's conventional stores rely on the "Liquid" coding environment, Hydrogen embraces the power of JavaScript and React, promising swifter loading web pages and limitless opportunities for UI/UX developers.

With Shopify Hydrogen, the future of custom storefront development is looking brighter than ever, offering efficiency, speed, and endless possibilities.

So, if you're ready to take your eCommerce game to the next level, consider diving into the world of Shopify Hydrogen. Your brand, your customers, and your bottom line will thank you.

As both Sanity and Shopify development experts, our team have extensive experience in crafting custom headless Shopify solutions, tailored to meet the unique needs of our clients and their customers. If you're keen to throw some ideas around, get in touch.

Related Posts

< Back


Six tactics for retaining your new customers post-peak season, thanks to the Shopify Plus Playbook.

Read More


Stuff We Love: Experiential websites edition

Read More


What makes a great digital customer experience (and why your customers expect more from you)

Read More