react-router-component icon indicating copy to clipboard operation
react-router-component copied to clipboard

Router taking param into account in the ID

Open chollier opened this issue 10 years ago • 0 comments

Hi,

I have user profile page with such a Location :
<Location path="/people/:id" handler={PersonDetail} />

There are different tabs in this page. When clicking these tabs, I change the url using this.navigate with "/people/37062?tab=emails" as an argument, and here come my problems.

Somehow then the id sent to my component props is not just 37062 anymore but 37062?tab=emails

I just have updated to 0.18.0, is this a bug or something I am missing ?

chollier avatar Apr 04 '14 17:04 chollier