February 3, 2026

Hydrogen vs Next.js for Shopify: Which Framework Should You Choose?

Hydrogen and Next.js can now work together. Compare current versions, hosting, team experience and the work your Shopify storefront needs.
7 min read
Flux Insights Static Hero
Adam Tregear
Founder & AI Search Strategist

You can now use Hydrogen with Next.js. The useful decision is which framework, Shopify toolkit and hosting setup fit your store—not which name wins a comparison. Here is how to assess a new build or an existing storefront.

The context


Updated 14 November 2026. Hydrogen and Next.js can now work together. Hydrogen 2026-10 is Shopify’s storefront toolkit; Next.js is an application framework. Earlier Hydrogen releases were full-stack frameworks based on Remix or React Router, which is why older comparisons present them as competing options.


For a new headless Shopify store, choose the framework around the buying experience, integrations and team. Then decide which Hydrogen features and hosting setup fit. For an existing store, check the installed Hydrogen version before planning an upgrade.


Shopify’s current getting-started guide offers React Router and Next.js starters, or lets you add Hydrogen to an existing server-capable JavaScript app.


Hydrogen: Shopify features for your storefront


What it does well


Hydrogen supplies Shopify features such as a Storefront API client, cart, product selection, customer accounts, consent and analytics. Your team still builds the shopping experience, but it can use supported Shopify tooling rather than creating every commerce feature from scratch.


The toolkit works with frameworks including Astro, Next.js and React Router. That gives a team more freedom to choose its frontend while keeping Shopify-specific features in a maintained library. Check the version and supported features when comparing an existing store with a new build.


Shopify’s React Router starter is configured for Oxygen. Vercel Shop, the Next.js starter, targets Vercel. These are starting points, not a requirement to use the same host for every Hydrogen project.


What still needs planning


Hydrogen does not choose the architecture for you. Product data, editorial content, search, integrations, preview, accessibility and analytics still need to work together. A starter can reduce setup work; it cannot establish that the store meets your requirements.


Existing Remix- or React Router-based Hydrogen stores also need a version-specific plan. Moving to the current toolkit is an application change, not simply a new label. Check routing, sessions, data loading and third-party dependencies before estimating the work.


Oxygen uses a Worker runtime rather than a conventional Node server. If you choose another host, check the framework’s runtime requirements and deployment behaviour. Shopify documents those differences in its deployment guidance.


Next.js: the application framework


What it does well


Next.js provides routing, server rendering and application features for a React storefront. It can suit a team that already knows Next.js, or a site combining commerce with other application requirements. Current Hydrogen can supply Shopify features within that app.


Next.js supports Node and Docker deployments, static export with limited feature support, and platform adapters with varying capabilities. Choose the deployment mode around the features you use; being able to host elsewhere does not make a move free of engineering work.


For customer portals, editorial experiences or other non-commerce features, assess the actual authentication, data and interaction requirements. These features are not exclusive to Next.js, but existing team experience and a suitable library can make it a practical choice.


What still needs planning


A Next.js storefront still needs cart behaviour, product queries, checkout handoff, consent and analytics tested end to end. Current Hydrogen can help with those Shopify features. An older implementation using Hydrogen React or direct API calls needs advice for its installed version.


Hosting and support remain part of the scope. Compare the selected plan, caching, deployment process, observability and ongoing ownership. Use the Next.js deployment documentation to check the capabilities of the chosen mode.


Next.js supports streaming, but the design still matters: decide which content appears first, what can be cached and how loading states behave. Do not assume that adding Hydrogen or choosing a host automatically makes those decisions correctly.


Performance: how they actually compare


There is no useful universal winner. Current Hydrogen runs within a framework, so compare complete storefront implementations rather than treating the toolkit as an alternative rendering engine.


Test representative product, collection, search and cart pages on mobile. Measure server response time, Largest Contentful Paint, Interaction to Next Paint and layout stability. Check the add-to-cart and checkout journeys alongside those measurements.


JavaScript, images, Storefront API calls, caching and CMS queries all affect the result. Server-rendered content can appear before client-side JavaScript finishes, but interactive components may still need hydration. Neither headless architecture nor streaming guarantees a conversion improvement.


If you add Algolia for search, test the integration with the selected framework, rendering approach and catalogue. Query design, indexing, filtering and caching matter alongside the frontend.


Our recommendation


Hydrogen remains part of our default Shopify Plus headless stack. The current toolkit lets us choose a suitable framework while using Shopify’s commerce features. It is a core part of our Hydrogen, Sanity and Algolia stack; the project requirements determine which parts it needs.


We consider Next.js when it fits the team and application requirements. That can include a Next.js storefront using Hydrogen. For an existing store, we first assess what is working, what needs to change and whether a framework migration is justified.


Either way, the framework is maybe 20% of the decision. The other 80% is the CMS choice, the integration architecture, the design system, and the engineering quality. If you're still deciding whether headless is the right path at all, read our guide on when a Shopify Plus store should go headless before committing to either framework.

Can Hydrogen and Next.js work together?

Yes. Hydrogen 2026-10 is a Shopify storefront toolkit that can be used within Next.js. Older Hydrogen versions were full-stack frameworks based on Remix or React Router, so check the version when reading a comparison or assessing an existing store.

Does Hydrogen require Oxygen hosting?

No. The framework and runtime determine compatible hosting. Shopify’s React Router starter targets Oxygen; Vercel Shop, the Next.js starter, targets Vercel. Other deployments need the appropriate runtime support and configuration.

Will changing frameworks make our Shopify store faster?

Not by itself. Measure the current product, collection, search and cart journeys first. Images, JavaScript, API calls, caching and rendering all affect performance. Compare the cost and benefit of fixing those issues with the work involved in a framework change.

/score

Does AI recommend your brand?

We ask ChatGPT and Perplexity 10 real buying questions for your category and score you against your biggest competitor. Live, in about 2 minutes.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Free. Enter your store's website, e.g. yourstore.com

Flux is a Shopify Plus Agency for Advanced Engineering & AEO

TLDR Summary
  • Current Hydrogen is Shopify’s storefront toolkit; Next.js is an application framework. They can work together.
  • Earlier Hydrogen releases used Remix or React Router. Check the installed version before following older advice.
  • Choose the framework around the buying experience, integrations and team.
  • Hosting depends on runtime compatibility: the React Router starter targets Oxygen and the Next.js starter targets Vercel.
  • Measure real pages and buying journeys; a framework change alone does not guarantee better performance.