Skip to content

Commit 74257d4

Browse files
committed
Add a note about stack navigator to the blog post
1 parent 1c5de7d commit 74257d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

blog/2021-08-14-react-navigation-6.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ With React Navigation 5, we introduced [`@react-navigation/native-stack`](/docs/
106106

107107
In React Navigation 6, we made `@react-navigation/native-stack` the default choice for setting up Stack navigation. It uses `UINavigationController` on iOS and Fragments on Android to implement navigation natively. We also focused a lot on aligning the API of `@react-navigation/native-stack` with `@react-navigation/stack` so that it’ll be easier to switch between them.
108108

109+
> While `@react-navigation/native-stack` is now used as the default choice in the documentation, it doesn't replace `@react-navigation/stack`. Both packages are maintained and are valid options for your projects. If you're currently using `@react-navigation/stack`, you can keep using it. You don't need to move to `@react-navigation/native-stack` unless you really want to.
110+
109111
Similarly, we switched `@react-navigation/material-top-tabs` to use `react-native-pager-view` by default.
110112

111113
### Better type-safety

0 commit comments

Comments
 (0)