Shopify’s platform is the Web platform
Remix is now Shopify's recommended framework for building Admin apps, backed by a rewritten, final version of App Bridge that makes cross-origin iframes behave like a normal web environment. App Bridge uses postMessage() to restore what browsers strip from iframes: it syncs history.pushState() URL changes to the top-level page, supplies OpenID Connect ID tokens in place of unavailable cookies, and exposes Admin integrations such as sidebar navigation through standard Custom Elements. It is loaded from a CDN script tag so fixes reach every app without redeploys. The Remix template bundles @shopify/shopify-app-remix for OAuth, ID token and HMAC handling, plus Prisma for storage and session persistence.
Related posts
- Remixing Shopify's Admin: How We Made It 30% Faster and AI-Ready
Shopify Engineering mediumAdeptShopify migrated its Admin (67 million daily page views, 101 teams, ~350 PRs merged daily, 3M+ lines of TypeScript) to Remix in SPA mode with Vite. The result is a 30% improvement in perceived load times. Statically globbed, typed route manifests replaced a runtime getRoutes function and give Search and Sidekick a single source of truth for all 1,017 routes. Remix loaders remove the code-then-data waterfall by fetching a 3.2kb loader in parallel with a 914kb component bundle, and idle-time prefetching of loaders warms an Apollo cache persisted in IndexedDB. Adding Remix actions and zod schemas lets the Sidekick AI fill and submit forms without loading UI JavaScript.
- Remote rendering: Shopify’s take on extensible UI
Shopify Engineering mediumAdeptShopify lets third-party extensions add native-feeling UI to its checkout and admin through remote rendering: untrusted extension code defines a UI tree inside a sandbox and sends it to a first-party host over a MessageChannel, and the host renders it with its own components. The open-source remote-ui library supplies the building blocks. These are an RPC layer that can pass functions and callbacks across postMessage using Promises, Proxies and automatic memory management, a DOM-like RemoteRoot that serializes tree updates as JSON, and receivers that rebuild the tree as DOM or React components. The production sandbox runs in web workers, Android web views or iOS JavaScriptCore, served from a separate domain, with dangerous globals like importScripts removed and fetch restricted to specific domains. The library has since evolved into Remote DOM, which uses the full browser DOM API inside the sandbox.
- Leveraging Shopify’s API to Build the Latest Marketplace Kit
Shopify Engineering mediumAdeptMarketplace Kit 2.0 decouples its sample code from the Shopify CLI's generated Node app and splits it into a full-stack Express/React admin app and a Next.js buyer app, both open-sourced. The admin app uses App Bridge's authenticatedFetch to attach JWT session tokens, which the server decodes with Shopify's Node API inside the Apollo Server context to load the store's access token. Running apollo-server-express instead of apollo-server lets one Express instance serve REST and GraphQL together and reuse Node middleware for rate limiting and auth, at the cost of slightly more boilerplate and no performance penalty. Custom GraphQL and REST client wrappers add project-specific User-Agent headers, and REST is kept for simple calls like product listing counts where a GraphQL query adds nothing.
- Mobile Bridge: Making WebViews Feel Native
Shopify Engineering mediumAdeptShopify's mobile app serves many of its ~600 screens as WebViews, made to feel native through Mobile Bridge, a framework built on @remote-ui/rpc for two-way web/native communication. Preloading, pre-authenticating and caching WebViews in native iOS/Android modules cut P75 load time from 6s to 1.4s. Injected JS/CSS disables zoom and text selection, and modified Polaris components push titles and actions into the native nav bar. A TransportableView moves a single WebView instance between screens to preserve state, with snapshots covering back navigation. The bridge also exposes native features like the date picker and barcode scanner to web content, and remote-dom is being explored to render Polaris components natively.
- How We Built Hydrogen: A React Framework for Building Custom Storefronts
Shopify Engineering mediumAdeptHydrogen, Shopify's React framework for custom storefronts, was built on React Server Components, React 18 streaming SSR and Vite, chosen over static JAMStack approaches because commerce pages are inherently dynamic. Component-level data fetching replaced route loaders, and a preload cache hoists nested queries so they run in parallel instead of in network waterfalls. Removing bloated exported GraphQL fragments and adding a logger for unused query fields cut some demo store route load times in half. Rigid "magical" context-based components were dropped in favor of leaner primitives, and the team describes its early reverse-engineered RSC implementation and collaboration with the React, Vite, Vercel and Cloudflare teams.