react-router: How to get activeClassName to work for non-exact routes?

后端 未结 0 1263
不思量自难忘°
不思量自难忘° 2020-12-01 08:40

Basically, I want all routes that have the same beginning substring to apply the activeClassName styles. Right now I have something like this:

...
return(
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题