Unlocking Composable Content with the App Router
Description
This talk explores how the App Router in Next.js provides greater flexibility in structuring web applications, impacting everything from data fetching to nested routes and layouts. The speakers discuss how this allows for increased site performance and editor autonomy by enabling component-level caching. They share actionable steps for adopting the App Router, integrating React Server Components, and managing a new file structure, along with using Sanity as a content layer and leveraging next-sanity updates for App Router compatibility. The discussion also covers practical use cases, the benefits of embedding the Sanity Studio within the Next.js app for developers and clients, and strategies for utilizing Next.js revalidateTag with Sanity for on-demand cache invalidation.