i have a doubt

so there is this nav bar having multiple buttons can i have different functionality for different pages ? ( in react js )
No description
1 Reply
Wolle
Wolle16mo ago
You can check for the current route in your header. With react-router-dom its useLocation.
Want results from more Discord servers?
Add your server