Skip to content
Discussion options

You must be logged in to vote

Both!

  • For react-navigation v5 import native-stack from react-native-screens/native-stack
  • For v6 install @react-navigation/native-stack and use native-stack from there

Part of README that states about that:
https://github.com/software-mansion/react-native-screens#using-createnativestacknavigator-with-react-navigation

react-native-screens as a package works with both of these versions. The native-stack part is the only thing that changed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kacperkapusciak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants