Types

Explore the TypeScript types provided by the Shopify Hydrogen SDK.

Croct's mascot winking
Looking for something specific?

Use the search bar at the top of the page or press / to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

PageDescription
CroctContextLearn about the Hydrogen load context exposed to your loaders and actions.
RequestContextLearn about the per-request visitor context resolved by the SDK.
ResolverContextLearn about the Shopify context your resolvers read from.
CroctOptionsLearn about the resolver options for the Croct middleware and context.
UserIdResolverLearn about the function that resolves the logged-in user ID.
LocaleResolverLearn about the function that resolves the visitor's preferred locale.
SlotContentLearn how to type slot content in your Hydrogen storefront.
ComponentContentLearn how to type component content in your Hydrogen storefront.