useParams, useNavigate and redirect of react-router-dom
If you are new to react-router check my previous blog on installation and setup guide to use react-router.
useParams
The useParams hook is a function in the react-router-dom library that allows you to access dynamic URL parameters of the URL. It retu...
thekumaraswamy.hashnode.dev2 min read