Skip to content

Stack Navigator double header reasoning #9442

Answered by satya164
pke asked this question in Q&A
Discussion options

You must be logged in to vote

In majority of cases you'd want to show the header from the child navigator and hide the one from parent since that's the one which will show correct title, have proper animations etc. But since React has one way data flow from parent to child, it's not possible to hide the parent header automatically when there's a header in the child navigator. Hence it needs to be done manually.

So it's isn't a case of usefulness, rather feasibility of implementation.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@pke
Comment options

@satya164
Comment options

@pke
Comment options

Answer selected by raajnadar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants