Tag: i18n
All the articles with the tag "i18n".
Implementing Next.js 16 'use cache' with next-intl Internationalization
Published:Next.js 16 introduces component-level caching with the 'use cache' directive, but it doesn't work seamlessly with next-intl yet. In this blog post, I'll explore why the incompatibility exists and show you a practical workaround.
Running Tests with RTL and Vitest on Async and Internationalized React Server Components in Next.js App Router
Published:Considering the relatively new React Server Components (RSC) and Next.js App Router, there is not a lot of documentation on how to test them. In this blog post, I'll explain a method I found to work for running tests with Vitest and RTL (React Testing Library) on React Server Components that utilizes internationalization (i18n) via the next-international package.