Sobefy
Back to Journal
Headless CommerceShopify

Shopify Hydrogen With Any JavaScript Framework: What Changes?

Oscar Diaz SerratSobefy
··3 min read
A clay wall plate with one lime universal port, surrounded by four differently shaped clay plugs

Hydrogen has reached general availability with support for any JavaScript framework. Teams that previously ruled it out because of its association with React and Remix now have more flexibility when planning a Shopify storefront.

The update expands frontend options, although the requirements and constraints of Shopify’s commerce backend remain relevant when evaluating the architecture.

Greater freedom to choose a frontend framework

It removes a real objection. Plenty of teams looked at Hydrogen, concluded that adopting it meant adopting someone else’s framework opinion for the next five years, and walked away on that basis alone. That was a reasonable call and it no longer applies.

If your hesitation about Hydrogen was about the front-end stack, your hesitation is resolved. Go and look again, because the hosting story and the commerce primitives are good.

Backend requirements remain unchanged

Almost nobody we have worked with left Shopify because of React. They left for one of four reasons, and this changes none of them.

  • +They needed commerce logic the platform would not model. Complex B2B pricing, unusual fulfillment rules, bundles that are not really bundles, subscription logic that fights the cart. A different front-end framework does not move where the business rules live.
  • +They needed more than one source of truth. Catalog in a PIM, inventory in an ERP, content in a CMS, pricing in a system finance owns. Headless was the integration layer, not an aesthetic preference.
  • +They were paying the app tax. Eight apps, each a monthly fee and a script tag, doing things a competent team could have built once. That cost structure is unchanged.
  • +They wanted to own the thing. Some businesses reach a size where renting the core of their operation stops being comfortable. This is a governance position more than a technical one and no SDK addresses it.

Frontend flexibility and architectural control

Front-end freedom is not architectural freedom. Hydrogen lets you choose how your storefront is rendered. It does not change who owns your data model, where your business rules execute, or what happens when the platform changes something you depended on.

For a lot of brands that trade is excellent. You get a very good commerce backend, a hosting story that works, and now a front end you choose. If your requirements fit inside Shopify’s model, fighting that is expensive and usually a mistake. We tell clients this regularly and some of them are surprised to hear it from us.

When to consider Hydrogen

Your commerce logic fits the platform. You want control over the storefront experience and performance. You do not want to run infrastructure. Your catalog has one home. Your team is small enough that owning a backend would be a distraction from the work that actually differentiates you.

That describes a large number of successful businesses and more of them should stop agonizing about headless.

When a different backend may be necessary

You are routinely working around the data model rather than within it. Your most important logic lives in apps and webhooks that nobody fully understands. You are blocked on something the platform has declined to support for years. Or you have simply grown to the point where the dependency is a strategic risk your board has started asking about.

In those cases the front-end framework was never the issue, and a better one does not change the arithmetic.

If you are evaluating a headless Shopify storefront, Sobefy can help compare Hydrogen, other frontend frameworks and custom commerce backends against your technical and business requirements.

Written by

Oscar Diaz Serrat

Oscar Diaz Serrat is the founder of Sobefy, a software engineering and web development agency in Miami Beach that builds stores, point of sale, backends, AI agents and MCP servers for companies that sell, and runs the search and campaign work around them.