Upgrade to Polaris
Version 2025-07 is the last API version to support React-based UI components. Later versions use Polaris web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the upgrade guide to upgrade your extension and avoid being blocked from updating your extension after October 1st 2026.
React hooks
React hooks provide a convenient way to interact with the Checkout UI extensions API in React-based extensions.
Anchor to React hooksReact hooks
| Name | Description |
|---|---|
| useApi() | Returns the full API object that was passed in to your extension when it was created. |
| useExtensionApi() | Returns the full API object that was passed in to your extension when it was created. |
| useSubscription() | Subscribes to the special wrapper type that all “changeable” values in the checkout use. |
Was this page helpful?