Not too familiar with react router, but I need the functionality of the NavLink to set the active class on the parent li element, and not the a ele
li
a
Check this one
class LiNavLink extends React.Component { render() { return ( { ({ match }) => {this.props.children} } ); } }