npm / @react-navigation/native
@react-navigation/native
What changed in @react-navigation/native 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
4 new APIs and options1 performance1 tooling21 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@react-navigation/native 727 changes
New APIs and options 4
Adds tabBarRepeatedPressBehavior to tabs.
Custom navigators can use a render callback.
Adds standard navigation compatibility.
Static config can now be wrapped in a component.
Performance 1
Split useLinkBuilder to minimize re-renders.
Tooling 1
Worked around VSCode autoimport not working for useNavigation and related APIs.
Fixes and other changes 21
Prevents state reset on web when history.go() takes longer than the timeout.
The return type of getRootState is fixed.
Linking actions are handled by the root navigator.
Its type is updated so SectionList refs work with strict types under RN 0.87.
resetRoot now always resets the root navigator's state.
Fixes state events and URL when a navigator mounts later.
Cleans up a stale listener after failed browser navigation.
Clones actions for links so subsequent navigation works.
Corrects handling of link actions, hrefs, and disabled state.
Fixes handling of targets such as _self and _blank in links.
Delayed browser history synchronization is now handled.
URL hashes are now handled.
Tracks history delta from popstate to detect browser-caused changes.
Keeps syncing history after an error occurs during sync.
Handles interrupted rollback when browser back is prevented.
History is rolled back if an update is prevented.
Adds a workaround for a false positive with multiple linking errors.
Fixes prefix matching when a host has additional characters.
Handles errors in parsing query params gracefully.
Fixes URLs with hashes not being matched correctly.
Dispatches an action for a deep link even if the route doesn't exist.