useNavigation or props #9550
Unanswered
shamilovtim
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Whenever possible use hooks this is what I would recommend. Because easy to use & more flexible than props. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@shamilovtim That's one of my existential questions as well 😅. I am in the process of adding a LOT of tests in my current app (unit testing with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When props are available should useNavigation be avoided? Which should be preferred when both are available? Are there measurable performance differences from using the hook vs. the prop?
Beta Was this translation helpful? Give feedback.
All reactions