Tag: i18n
All the articles with the tag "i18n".
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.