Next.js Commerce: A headless Shopify ecommerce template built with the App Router
Aug 7, 2023

Summary
This post introduces Next.js Commerce 2.0, highlighting its App Router readiness, dynamic storefront capabilities, and simplified architecture. It details how React Server Components, Streaming, Suspense, and the new data fetching/caching paradigms in the App Router enable dynamic content at static speeds. The post also includes a code example for a Shopify fetch wrapper and demonstrates how to use revalidation tags with Shopify webhooks.
More from the Customer Site Performance Optimization trail
- Technical audits: Optimizing cost, performance, and productivity
- How to choose the best rendering strategy for your app
- Demystifying INP: New tools and actionable insights
- How Ruggable optimized their frontend architecture | Customers | Vercel
- Demant achieves global scalability and 30x faster response times with Vercel | Customers | Vercel