cacheComponents with next-intl

Go to Pathnames page

Cached Component

Reads locale directly from next/root-params inside 'use cache'. The root param value automatically becomes a cache key, so each locale gets its own cached entry — no prop-drilling needed.

Demo showing how next/root-params enables Next.js 16 cacheComponents with next-intl. Cached components read locale directly from root params inside 'use cache' — no prop-drilling needed.