If you are new to react-router check my previous blog on installation and setup guide to use react-router.The useLocation hook returns the current location object of the URL which consists of pathname, search,hash,state ,key properties pathname: The ...
thekumaraswamy.hashnode.dev1 min readNo responses yet.