ShopifyProvider

The ShopifyProvider component wraps your entire app and provides support for the Hooks listed below. You should place it in your app's entry point component. For example, <App>.

Example code

Props

Name Required Description
shopifyConfig Yes The contents of the shopify.config.js file.

Component type

The ShopifyProvider component is a shared component, which means that it renders on both the server and the client. For more information about component types, refer to React Server Components.