Skip to content

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

Refactoring & migrations Remove topic Refactoring & migrations Clear all 21 posts RSS

2026

Native is now the future of mobile at Shopify

Case study 10 min +100 XP

Shopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling.

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

How to Write Code Without Having to Read It

Opinion 12 min +120 XP

Engineers can safely change unfamiliar code with minimal reading by letting the compiler, linter and unit tests guide them: locate the entrypoint via user-visible strings (or git bisect for regressions), make the breaking change at the leaf component, then climb the callstack following build errors and sweep back down via lint errors, exhaustive switches and test failures.

2021

How Shopify Dynamically Routes Storefront Traffic

Case study 9 min +90 XP

Shopify shifted storefront traffic from its legacy Rails storefront to a rewritten renderer using a rule-based routing system in nginx/OpenResty Lua load balancers, with rules stored as JSON in a control plane and managed via the spy chatbot so changes skip CI and deploys.

The quest for software engineering knowledge.

Look:
Layout: