Glossary: React Beyond the Basics
useNavigate
A React Router hook that returns a function for changing the address from code, such as moving to /cart after Add to cart.
Glossary: React Beyond the Basics
A React Router hook that returns a function for changing the address from code, such as moving to /cart after Add to cart.