I Know How to Sent data but the problem is I have 2 products which is Coming from API. in screen "A". Now I render this two product from flatList. like this
const funA =({item})=>{
<TouchableOpacity onPress={() => props.navigation.navigate('A',{data: dataFromApi})>
<View><Text>{item.name}</Text></View>
</TouchableOpacity>
}
Now In screen B I want To render Product Info of That product which Is pressed In Previous Screen. So How Can I do That. please help thanks.