Tag: App Router
All the articles with the tag "App Router".
Implementing React Hook Form with Next.js 14 and Server Actions
Published:React Hook Form is a popular library for building interactive forms in React. In this blog post, I'll explain how to use React Hook Form with Next.js 14 and Server Actions.
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.