Question 13/15
advanced
Select one answer

What is the usePathname hook used for in App Router?

Setting the pathname
Returning the current URL pathname as a string
Creating new pathnames
Validating pathnames

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.