Hacker News new | ask | show | jobs
by jplhomer 1459 days ago
Hydrogen is purpose-built to be used for custom Shopify storefronts, correct. So you're communicating with Shopify's backend using helpers like `useShopQuery` https://shopify.dev/api/hydrogen/hooks/global/useshopquery

As for hosting, you can deploy to Shopify's Oxygen platform (Worker-based), or any other deployment platform that supports Node.js or v8 Worker runtimes.

1 comments

Will hydrogen have default UI components too? That would increase productivity since you're also using TailwindCSS as well.

Vercel is my go-to choice to deploy my apps and it seems you are trying to support them too.

Yes, Hydrogen includes a large set of commerce-specific primitives https://shopify.dev/api/hydrogen/components. There's is also a full working demo-store that implements these primitives in more complex components https://hydrogen.new/
Yep, we're planning to offer a `@shopify/hydrogen-ui` package with useful components and hooks. That work is in progress but not quite ready.

We have a working prototype of Hydrogen deploying to Vercel, and we need to formalize it into our official documentation: https://github.com/frandiox/hydrogen-vercel-edge