Skip to content

Commit

Permalink
chore(README): Redact caution of migrating JS API of native stack (#2480
Browse files Browse the repository at this point in the history
)

## 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 <[email protected]>
  • Loading branch information
tboba and kkafar authored Nov 6, 2024
1 parent 46c843e commit 960873a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 960873a

Please sign in to comment.