unstale

npm / @react-navigation/native

@react-navigation/native

What changed in @react-navigation/native 6 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

30 breaking30 new APIs and options2 performance1 tooling22 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@react-navigation/native 727 changes

New APIs and options 4

Performance 1

Tooling 1

  • Worked around VSCode autoimport not working for useNavigation and related APIs.

    7.3.15release notes

Fixes and other changes 21

  • Prevents state reset on web when history.go() takes longer than the timeout.

    7.3.18release notes

  • The return type of getRootState is fixed.

    7.3.17release notes

  • Linking actions are handled by the root navigator.

    7.3.17release notes

  • Its type is updated so SectionList refs work with strict types under RN 0.87.

    7.3.17release notes

  • resetRoot now always resets the root navigator's state.

    7.3.14release notes

  • Fixes state events and URL when a navigator mounts later.

    7.3.12release notes

  • Cleans up a stale listener after failed browser navigation.

    7.3.9release notes

  • Clones actions for links so subsequent navigation works.

    7.3.9release notes

  • Corrects handling of link actions, hrefs, and disabled state.

    7.3.9release notes

  • Fixes handling of targets such as _self and _blank in links.

    7.3.9release notes

  • Delayed browser history synchronization is now handled.

    7.3.8release notes

  • URL hashes are now handled.

    7.3.8release notes

  • Tracks history delta from popstate to detect browser-caused changes.

    7.3.6release notes

  • Keeps syncing history after an error occurs during sync.

    7.3.6release notes

  • Handles interrupted rollback when browser back is prevented.

    7.3.6release notes

  • History is rolled back if an update is prevented.

    7.3.2release notes

  • Adds a workaround for a false positive with multiple linking errors.

    7.2.6release notes

  • Fixes prefix matching when a host has additional characters.

    7.2.4release notes

  • Handles errors in parsing query params gracefully.

    7.2.4release notes

  • Fixes URLs with hashes not being matched correctly.

    7.2.4release notes

  • Dispatches an action for a deep link even if the route doesn't exist.

    7.1.21release notes

@react-navigation/native 658 changes

Breaking changes 30

  • More navigation-triggering UI elements render a tags on the Web, including header back buttons and material top tab buttons, improving accessibility and SEO.

    6.0.0upgrade guide

  • Custom navigators require more type information to provide improved TypeScript type-checking and autocompletion.

    6.0.0upgrade guide

  • Previously deprecated APIs across stack, drawer, bottom tabs, and material top tabs are removed; migrate usages to their replacement options and props.

    6.0.0upgrade guide

  • headerLeft and HeaderBackButton use displayMode to control back-button titles, with default, generic, and minimal values.

    6.0.0upgrade guide

  • Expo 52 is now the minimum version when using Expo Go.

    6.0.0upgrade guide

  • The NavigationContainer independent prop is removed; wrap the container in NavigationIndependentTree instead.

    6.0.0upgrade guide

  • labelVisible is removed from headerLeft and HeaderBackButton; use displayMode instead.

    6.0.0upgrade guide

  • Link replaces the path-string to prop with screen and params props, and supports an optional href prop.

    6.0.0upgrade guide

  • React Navigation UI elements, including headers, drawers, and material top tabs, now follow Material Design 3 guidelines.

    6.0.0upgrade guide

  • navigate no longer navigates to a screen in a nested child navigator by default; use the parent screen and screen parameter instead.

    6.0.0upgrade guide

  • The navigate action no longer accepts a route key option; use getId for similar use cases.

    6.0.0upgrade guide

  • Set pop: true in the options to get behavior similar to the previous navigate behavior.

    6.0.0upgrade guide

  • navigate no longer goes back to an existing screen in the stack; it stays on the focused screen or pushes a new one.

    6.0.0upgrade guide

  • The navigation state and its nested objects are frozen in development mode to prevent accidental mutations.

    6.0.0upgrade guide

  • onReady now fires only when navigators are rendered, matching navigationRef.isReady().

    6.0.0upgrade guide

  • Pass this prop to NavigationContainer to temporarily retain navigation to screens in nested child navigators.

    6.0.0upgrade guide

  • Adds a component for wrapping a NavigationContainer to render navigators in a separate tree.

    6.0.0upgrade guide

  • Packages now use ESM exports, which can restrict internal-file imports; patch built lib files, and adjust TypeScript or Webpack resolution settings if needed.

    6.0.0upgrade guide

  • When generating links, path-position params encode only characters not allowed in the path; query-position params remain URL encoded.

    6.0.0upgrade guide

  • Adds an explicit method to go back to a screen in the stack, or pop the current screen and add it if it does not exist.

    6.0.0upgrade guide

  • The minimum supported version is now 0.72.0.

    6.0.0upgrade guide

  • Import createMaterialBottomTabNavigator from react-native-paper/react-navigation after the integration moved packages.

    6.0.0upgrade guide

  • The Flipper plugin has been removed from @react-navigation/devtools; use the listed alternative developer tools.

    6.0.0upgrade guide

  • The Material Bottom Tab Navigator integration has moved to react-native-paper; remove this package and import from react-native-paper/react-navigation.

    6.0.0upgrade guide

  • Drawer Navigator requires Reanimated 2 or 3 on native platforms; projects using Reanimated 1 must upgrade.

    6.0.0upgrade guide

  • The sceneContainerStyle prop and Drawer Navigator option are removed; use sceneStyle instead.

    6.0.0upgrade guide

  • The minimum supported TypeScript version is now 5.0.0.

    6.0.0upgrade guide

  • The option supporting Reanimated 1 and 2 APIs is removed from Drawer Navigator.

    6.0.0upgrade guide

  • The hook now returns an object with buildHref and buildAction methods instead of a function.

    6.0.0upgrade guide

  • useLinkProps replaces the path-string to prop with screen and params props, and supports an optional href prop.

    6.0.0upgrade guide

New APIs and options 26

  • Bottom Tab Navigator adds an animation option to customize animations for tab transitions.

    6.0.0upgrade guide

  • Stack Navigator adds an animation option for screen transitions as an alternative to TransitionPresets, easing migration between JS stack and native stack navigators.

    6.0.0upgrade guide

  • The elements library adds a Button component that can navigate to screens, render an anchor tag for web navigation, or act as a regular button.

    6.0.0upgrade guide

  • TabView accepts commonOptions for options shared across tabs, replacing several TabBar props and supporting improved tab-bar item re-rendering performance.

    6.0.0upgrade guide

  • NavigationContainer accepts direction to set layout direction instead of relying on I18nManager.

    6.0.0upgrade guide

  • The elements library adds a HeaderButton component for rendering appropriately styled buttons in headers.

    6.0.0upgrade guide

  • Navigators using the Header component can configure a header search bar on all platforms; previously this was available only in Native Stack Navigator on iOS and Android.

    6.0.0upgrade guide

  • The elements library adds a Label component for rendering label text, such as a tab bar button label.

    6.0.0upgrade guide

  • Navigators gain a layout prop whose callback can add wrapper UI and access the navigator's state, options, and other data.

    6.0.0upgrade guide

  • Screens gain a layout prop, making it easier to add shared UI such as an error boundary or suspense fallback.

    6.0.0upgrade guide

  • Adds a way to filter out deep links from being handled.

    6.0.0release notes

  • Adds a migration method that behaves like the old navigate method; it will be removed in the next major.

    6.0.0upgrade guide

  • The theme prop accepts a fonts property for customizing fonts used by React Navigation UI elements.

    6.0.0upgrade guide

  • TabView accepts per-route options keyed by route.key; custom tab bars also receive the options in their arguments.

    6.0.0upgrade guide

  • Linking config supports a top-level path to define a base path for all screens, useful when an app lives under a web subpath.

    6.0.0upgrade guide

  • Built-in navigators can preload screens before navigation, rendering them off-screen and executing side effects such as data fetching.

    6.0.0upgrade guide

  • The drawer implementation used by @react-navigation/drawer is available as a standalone package for use without React Navigation or a navigator.

    6.0.0upgrade guide

  • Bottom Tab and Material Top Tab Navigators add sceneStyle for styling individual screens; Drawer Navigator renames sceneContainerStyle to sceneStyle.

    6.0.0upgrade guide

  • Groups and navigators can use screenLayout to provide shared layout UI for their screens.

    6.0.0upgrade guide

  • Bottom tabs can be positioned on the side or top, enabling responsive sidebars and tab layouts for TV apps.

    6.0.0upgrade guide

  • The options callback now receives the theme object, allowing screen options to customize UI elements using theme values.

    6.0.0upgrade guide

  • Native Stack Navigator exports a hook for animating content based on header height changes.

    6.0.0upgrade guide

  • The useLocale hook exposes the layout direction value for use in custom components.

    6.0.0upgrade guide

  • The devtools package exports a hook for logging navigation actions to the console.

    6.0.0upgrade guide

  • The new hook prevents a screen from being removed and works with Native Stack Navigator as an alternative to beforeRemove.

    6.0.0upgrade guide

  • Navigator-specific XOptionsArgs types are exported to type options callback arguments, including callbacks defined separately.

    6.0.0upgrade guide

Performance 1

  • Drawer Navigator on the Web uses CSS transitions instead of Reanimated, reducing bundle size.

    6.0.0upgrade guide

Fixes and other changes 1

  • The navigation object in options and listeners callbacks is now accurately typed for its navigator, without requiring manual type annotations.

    6.0.0upgrade guide