Why do storefronts using Hydrogen perform so well?
The future of commerce is personalized, contextual, and dynamic. Hydrogen is a React-based framework for building custom, creative storefronts that leverage the Shopify platform and APIs.
Streaming Server-side Rendering
Imagine a product page packed with personalized content for the buyer: localized descriptions and pricing, a list of recommended products based on their purchase history, custom calls to action and promotional banners, and even assignment to several multivariate A/B tests.
React Server Components
Server Components allow developers to build applications that span both servers and clients, combining the rich interactivity of client-side applications with the improved performance of traditional server rendering.
Efficient data acquisition, colocation, and caching.
To provide fast server-side responses, you need fast and efficient first-party (Shopify) and third-party data access. When deployed with Oxygen (a distributed V8 worker runtime hosted by Shopify), Hydrogen server components query the Storefront API at localhost speeds. Store data is colocated and located in milliseconds. For third-party fetches, the runtime hits the standard Fetch API, enhanced with smart cache defaults and configurable caching strategies.
The best combination of dynamic services and edge delivery
Even with Hydrogen, you don't have to fetch all your data from the server. On the contrary, it's good practice to defer or lazyload less important content from the client. Lower-priority content can be loaded using the standard React pattern and browser APIs. For example, you can use IntersectionObserver to determine when to display content on the screen and load it as needed.








