From the legacy React/JavaScript API to Preact + Polaris web components + global shopify object. Published together with 60+ per-component pages and the checkout → cart metafield migration steps.
shopify objecta new official migration guide for rewriting them has been published.
From the React/JS extension API to Preact / Polaris web components / global shopify the steps for rewriting them to use the object.
Button / Checkbox / TextField / Banner / View, and more — migration steps broken out into individual pages per component.
The migration steps from checkout metafields → cart metafields were published at the same time.
shopify object.| Guide | Content | Work involved |
|---|---|---|
| Overall migration guide | Steps for migrating from the React/JavaScript extension API to Preact + Polaris web components + global shopify object |
Overall strategy Architecture overhaul |
| Per-component pages (60+) | Old→new mappings per component, such as Button/Checkbox/TextField/Banner/View | Per component Individual rewrites |
| Metafield migration | Steps for migrating from checkout metafields to cart metafields | Data layer Schema migration |
| Checkout UI extensions migration guide | Entry-point page focused on Checkout UI extensions | Entry point Recommended starting point |
| Customer Account UI extensions migration guide | Entry-point page focused on Customer Account UI extensions | Entry point Recommended starting point |
An extension for inserting custom UI into the checkout screen. The main focus of this migration guide.
An extension for inserting custom UI into the customer account page. In scope as well, just like Checkout.
Start from the Checkout or Customer Account migration guide.
From React/JS to Preact + global shopify Rewrite to.
Replace Button/TextField/Banner and the like, following the individual Polaris WC pages.
Replace checkout metafields with cart metafields.
Polaris web components become the default in 2025-10. It is explicitly stated that extensions using anything earlier fall under this guide.
The UI framework is unified on Preact + Polaris web components. React-specific hooks ecosystems and HOCs cannot be carried over as-is.
shopify objectAccess to the extension API is consolidated through the global shopify object. The way values that were previously obtained via React Hooks are accessed changes here.
Because individual pages are provided for each component—Button/Checkbox/TextField/Banner/View, and so on—reconciling and resolving the differences one at a timeis the realistic approach.
In parallel with the UI-layer overhaul, where the data lives also shifts: checkout metafields → cart metafields. Because the storage location for custom data that was held only during checkout changes, you need to identify every read/write reference.
shopify object, carried out in stages.shopify configuration as on the Checkout side.