ReactJS – Match multiple paths using the reaction router V4

Given that I have 2 paths presenting the same components, how can I avoid repeating the routing configuration like this:


The best solution I found so far (but it seems a bit strange):

Given that I have 2 paths presenting the same components, how can I avoid repeating such routes Configuration:


The best solution I found so far (but it seems a bit strange):

Leave a Comment

Your email address will not be published.