Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

why navlink in react router always active

<li> <NavLink exact to='/' activeClassName="active-link">Home</NavLink> </li>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #navlink #react #router #active
ADD COMMENT
Topic
Name
8+1 =