i have a doubt
so there is this nav bar having multiple buttons can i have different functionality for different pages ? ( in react js )
1 Reply
You can check for the current route in your header. With
react-router-dom
its useLocation
.