Skip to content

Commit 960873a

Browse files
tbobakkafar
andauthored
chore(README): Redact caution of migrating JS API of native stack (#2480)
## Description Because `react-native-screens/native-stack` isn't moved to `@react-navigation/native` 😄 I've changed the caution about moving the dependency into the correct one. Also, I've redacted the sentence, so for me it looks better now. ## Changes - Fixed `@react-navigation/native-stack` to `@react-navigation/native` in README. - Redacted caution --------- Co-authored-by: Kacper Kafara <kacper.kafara@swmansion.com>
1 parent 46c843e commit 960873a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Here's a table with summary of supported `react-native` versions when Fabric is
139139
## Usage with [react-navigation](https://github.com/react-navigation/react-navigation)
140140

141141
> [!CAUTION]
142-
> NativeStack has been moved from react-native-screens/native-stack to @react-navigation/native since version v6. With react-native-screens v4 native stack v5 (react-native-screens/native-stack) is deprecated and marked for removal in the upcoming minor release, react-native-screens v4 will support only @react-navigation/native-stack v7.
142+
> JS API of the native stack has been moved from `react-native-screens/native-stack` to `@react-navigation/native-stack` since version v6. Currently, native stack v5 (imported from `react-native-screens/native-stack`) is deprecated and will be removed in the upcoming **minor** release. `react-native-screens` v4 will support only `@react-navigation/native-stack` v7.
143143
144144
Screens support is built into [react-navigation](https://github.com/react-navigation/react-navigation) starting from version [2.14.0](https://github.com/react-navigation/react-navigation/releases/tag/2.14.0) for all the different navigator types (stack, tab, drawer, etc).
145145

0 commit comments

Comments
 (0)