I am using a React-Navigation screen with the name "User" to show info about a particular user. When navigating to this route I pass the param "id" which tells the screen what user it is dealing with. When viewing a user it is possible to click something that will let you view another user.
At the moment this works and the new param makes the other user's details show up. The problem is that it does not navigate to a new screen for the other user and instead just changes the current screen. The problem is that when you navigate back it does not take you to the screen for the initial user but whatever was before it. You also get no visual cue that you navigated.
I would thus like to know how I can force it to navigate to another version of the same route.
If it makes any difference, I am working with Redux and navigate by dispatching generated actions like:
NavigationActions.navigate({ routeName: 'User', params: {userId} })