I am new to React Native. I use reduction for my responsiveness to the embedded application, however I am having a problem due to the global state of redux storage .
Suppose, for example, When moving forward in an application, I move as shown below. 
While going back

According to the redux architecture , it changes the state of each page instance present in the navigation stack, with the most recent state in the repository.
Here is the code for the above example
Page.js [Component]
class Page extends Component{ componentWillMount(){ } render(){ var {image,apiCall} = this.props; return ( <View> <Image Source={{uri:image}} style={{
fetchProduct () [Function to retrieve a product]
export function fetchProduct(link) { return function(dispatch){
fetchedProduct [Action]
export const fetchedProduct = (productLink) => { return { type: FETCHED_PRODUCT, image: image }; };
PageDataReducer [Reducer]
export default function PageDataReducer(state = initialState, action) { switch (action.type) { case FETCHED_PRODUCT: var newState = { ...state, image: action.image }; return newState; default: return state; } }
My observation . Whenever the same page appears in the navigation, and the state in the repository of this page receives changes, it calls mapStateToProps () of this page the number of times the page is in the navigation stack . And therefore, this is the number of times it goes through the lifecycle methods of this page to change state according to the last state.
In this example , when I click on the bananas in the box, it changes state from mango to banana in the repository and mapStateToProps () is called 3 times (because this page is present 3 times in the navigation stack) and, therefore, all the reaction lifecycle methods from componentWillReceiveProps () on componentDidUpdate () is called 3 times only to change the state of this page in accordance with the last state .
I want to . I want the navigation system to display a different page state. Therefore, returning, I see all the different products that I visited.
The problem is obvious according to the redux architecture, but I don't understand how to solve it. Any help or any other work around to achieve my goal would be greatly appreciated.