Skip to content

Glossary: React Beyond the Basics

useLocation

A React Router hook that returns the current address. Its pathname is the part like /products/MUG-BL.

Where the book teaches it

Related terms

resetKeysuseNavigate