Code QuizIntermediate push vs navigate Behavior
Find why navigating to the same screen doesn't stack a new copy.
Codejavascript
function DetailsScreen({ navigation, route }) {
return (
<Button
title="Next Item"
onPress={() => navigation.navigate('Details', { id: route.params.id + 1 })}
/>
);
}
// Expectation: each tap pushes a NEW Details screen onto the stackWhat is the bug preventing a new screen from being pushed?