Articles by Tag #usesearchparams

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Mocking Next 16 useParams, useSearchParams, usePathname and useRouter in Jest

In this chapter we write a test for a component that uses router related hooks: useParams,...

Learn More 0 0Nov 26

5. Mocking usePathName, useSearchParams and useRouter with Jest in Next 15

In previous parts we saw how to use and test the async searchParams prop in a route page component....

Learn More 1 1Dec 21 '24

Case Study: A Complete User Flow in Next.js 15, from useSearchParams to Server Actions

This article details the implementation of a complete user flow in Next.js 15, from selecting a...

Learn More 1 0Aug 23