Skip to content

Commit 7b0b03f

Browse files
committed
Mention screens 4 requirement in upgrade guide
1 parent 7b71b70 commit 7b0b03f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
.DS_Store
33
.docusaurus
44
.history
5+
.idea
56

67
build/
78
translated_docs/

versioned_docs/version-7.x/upgrading-from-6.x.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ The `customAnimationOnGesture` option in Native Stack Navigator is renamed to `a
288288

289289
See [Native Stack Navigator](native-stack-navigator.md#animationmatchesgesture) for usage.
290290

291+
#### Native Stack now requires `react-native-screens` 4
292+
293+
`@react-navigation/native-stack` now requires `react-native-screens` 4 and will break when using an earlier version. If you are using Native Stack Navigator in your project, make sure to upgrade `react-native-screens` to version 4.
294+
295+
See [Native Stack Navigator](native-stack-navigator.md) for usage.
296+
291297
#### Material Top Tab Navigator no longer requires installing `react-native-tab-view`
292298

293299
Previously, `@react-navigation/material-top-tabs` required installing `react-native-tab-view` as a dependency in the project. We have now moved this package to the React Navigation monorepo and able to coordinate the releases together, so it's no longer necessary to install it separately.

0 commit comments

Comments
 (0)