Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Frontend Remove topic Frontend Clear all 31 posts RSS

2026

Upgrading Checkout Blocks app to Polaris web components

Case study 10 min +100 XP

Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.

2025

2024

2023

2022

Apollo Cache is Your Friend, If You Get To Know It

Deep dive 15 min +150 XP

Apollo Client's InMemoryCache stores a normalized, in-session representation of GraphQL data, and its object lifecycle runs through four stages: fetching (governed by fetch policies, defaulting to cache-first), normalization (splitting responses into objects keyed by __typename plus id or custom keyFields into a flat hash map), updating and merging, and garbage collection and eviction.

Best-in-Class Developer Experience with Vite and Hydrogen

Case study 8 min +80 XP

Shopify's Hydrogen storefront framework is built on Vite. Vite serves user code as native ES Modules and pre-bundles and caches only third-party dependencies, which speeds up dev-server startup and hot module replacement compared with bundle-based tools like Webpack.

How We Built the Add to Favorite Animation in Shop

How-to 7 min +70 XP

Shop's Add to Favorite animation, where a product thumbnail pops in, scales, and drops into a bouncing heart tab-bar icon, is built in React Native with Reanimated by driving the whole sequence from a single shared progress value that steps through 1, 2, 3 and so on, each step with its own duration and easing from the motion spec.

The quest for software engineering knowledge.

Look:
Layout: