Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert navigate() to push()s in stack navigators #2

Open
vahdet opened this issue Sep 30, 2020 · 0 comments
Open

Convert navigate() to push()s in stack navigators #2

vahdet opened this issue Sep 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vahdet
Copy link
Contributor

vahdet commented Sep 30, 2020

Using push() instead of navigate() can avoid loading a screen multiple times.

ReactNavigation V5 has a bug in types as mentioned in the issue:
react-navigation/hooks#42

When it is resolved, push can be used in stacks.

@vahdet vahdet added the enhancement New feature or request label Sep 30, 2020
@vahdet vahdet self-assigned this Sep 30, 2020
@vahdet vahdet changed the title Convert navigate() to push() ins stack navigators Convert navigate() to push()s in stack navigators Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant