Environment:
"react-native": "0.57.1",
"react-native-router-flux": "^4.0.5",
When passing props from one screen to another through Actionskey it gives me an error that the props that I called is undefined
I searched a lot for this problem, and I found nothing
Screen1:
<View>
<Button
title="click me"
onPress={() => Actions.Screen2({id:5})}
/>
</View>
Screen2:
<View>
<Text>
{this.props.id}
</Text>
</View>
react-native-router-flux has so many issues with recent React native versions, it is also adviced to use react-navigation as your routing approach.