I am developing a react native app. I am using react-native-router-flux library for navigation in the app.
The library is working fine but while back navigating no react lifecycle method is getting called.
suppose for e.g. I pressed back button on page 2, It gets navigate to page 1 and the componentWillUnmount() of page 2 gets called but no lifecycle methods of page 1 gets called.
I want to refresh the page 1 according to new state.
Any help would be greatly appreciated.