javascript - react-router route nesting problem?
伊谢尔伦
伊谢尔伦 2017-07-05 10:49:06
0
2
722

react-router version is "react-router": "^4.1.1", the route can only be customized in the above way, not the following way. It’s okay to remember the previous version! Now the new version uses this method, which is not convenient for checking directions. Or is there something wrong with what I wrote? Can any of you experts help me solve it?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (2)
过去多啦不再A梦

The route customization after V4 is what you wrote above. Use exact to prevent it from matching downwards. The previous version was what you wrote below. There is no problem.

    某草草

    After 4.0.0, Route tags are not allowed to contain other tags

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!