useQuery() with React Router Dom
import { useLocation } from 'react-router-dom';  const useQuery = () =&gt; new...
Tags: react, hooks, customhooks