Invalid react-router4 nested route

invalid react-router4.3 with react-router-config nested routing

I can access / center when writing a secondary directory, but the component becomes invalid when I visit / center/info when I write a small training project written by my novice.

clipboard.png

clipboard.png
I don"t know why I asked for divine guidance

Mar.23,2022

v4 version of router is based on components, which is quite different from v3. Take a look at official documents Bar


react-router 4.0 does not seem to support nested routing

Menu