I have a Route with the path "/contacts/:userIds"
<Route
exact
path="/contacts/:usersIds"
component={contacts}
/>
I' having a problem where if a user is on the page /contacts/123 and then clicks on a different Link component like contacts/234 then the browser link changes but the page stays the same as the user would still be on the page /contacts/123 instead of being on /contacts/234.
Here's the code simplified, it's a map of ListItems with the Link component from "react-router-dom":
<ListItem
key={key}
button
component={Link}
to={
`/contacts/` +
(user1_user2)
}
>