Shopify has officially adopted Remix as the recommended framework for app development. If you're still using Express or Koa, it's time to switch. Remix offers a superior developer experience and better performance out of the box.

The Remix Advantage

Remix is a full-stack web framework that focuses on web standards. For Shopify apps, this means:

  • Unified Backend/Frontend: Write your UI and API logic in the same file.
  • Loaders & Actions: Handle data fetching (GET) and mutations (POST) intuitively.
  • Optimistic UI: Update the interface instantly before the server responds.

Shopify App Template

The official Shopify CLI generates a Remix app pre-configured with:

  • App Bridge: For embedding your app in the Shopify Admin.
  • Polaris: Shopify's design system.
  • Prisma: ORM for database management.
  • Webhooks: Pre-wired setup for event handling.

Handling Authentication

Remix simplifies the complex OAuth flow. The @shopify/shopify-app-remix package handles session tokens, billing checks, and API versioning automatically.

Deployment

Remix apps can be deployed anywhere (Vercel, Cloudflare, Fly.io). This flexibility allows you to scale your infrastructure as your app grows.