You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I'm curious about the navigation variable we can pass in to the DetailsHeader.
So in order to navigate back to the previous page, we press the CircleButton which brings us back to the previous page via onPress function (which is defined as handlePress={() => navigation.goBack() under the hood.)
But then I'm curious about what is actually the thing that we are passing in to the DetailsHeader in the place of the navigation variable. Is it like the entire "previous page" information or ?
I tried to figure out what it is but its definition is nowhere to be found across the whole project.
Hi.
I'm curious about the navigation variable we can pass in to the DetailsHeader.
So in order to navigate back to the previous page, we press the CircleButton which brings us back to the previous page via onPress function (which is defined as handlePress={() => navigation.goBack() under the hood.)
But then I'm curious about what is actually the thing that we are passing in to the DetailsHeader in the place of the navigation variable. Is it like the entire "previous page" information or ?
I tried to figure out what it is but its definition is nowhere to be found across the whole project.
Can someone explain it please...?
Code link: https://github.com/adrianhajdin/react-native-nft-marketplace/blob/main/screens/Details.js
Code in question
The text was updated successfully, but these errors were encountered: