Customer Site Performance Optimization
Next.js Commerce: A headless Shopify ecommerce template built with the App Router

Next.js Commerce: A headless Shopify ecommerce template built with the App Router

8/7/2023

What this post added

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.

Read the original post ↗