From 960873aa03b9e22136d2f7b3b272e407011568d2 Mon Sep 17 00:00:00 2001 From: Tymoteusz Boba Date: Wed, 6 Nov 2024 11:40:15 +0100 Subject: [PATCH] chore(README): Redact caution of migrating JS API of native stack (#2480) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5aca363a98..093c7980fe 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Here's a table with summary of supported `react-native` versions when Fabric is ## Usage with [react-navigation](https://github.com/react-navigation/react-navigation) > [!CAUTION] -> 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. +> 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. 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).