For example, just switching the active classes btw to li. But not with router. I have list like this it is not cicle with map() method. It is static list.
constructor(props) {
super(props);
const parsedUrlQuery = window.location.pathname;
this.state = {
isActive: true
}
}
<ul className='bread list-inline'>
<li className={this.state.isActive ? 'navigation--active' : ''}>All projects</li>
<li> My projects</li>
</ul>
the problem is i don not know how to remove and add class for static list. Could u help me with that.
