npm / expo-router
expo-router
What changed in expo-router 6 to 58, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-26.
10 breaking1 security5 deprecations16 new APIs and options2 performance5 behavior and defaults1 tooling40 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initexpo-router 5876 changes
Breaking changes 10
Screens 5 requires react-native-screens 5.0.0-beta.1 or later.
The prop is deprecated and has no effect.
Layouts without this setting no longer use the route named like their group as the anchor; export it to keep that back destination.
The RouterActionHandling enum replaces ambiguous null and undefined return values.
Replaced by unstable_performance and unstable_PerformanceObserver.
Introduces unstable_performance as a replacement for the experimental unstable_navigationEvents API.
Introduces unstable_PerformanceObserver as a replacement for the experimental unstable_navigationEvents API.
The SitemapType returned by useSitemap no longer includes isInitial.
Generated route query strings encode spaces as +, leave * unescaped, encode ~ as %7E, and write raw null values as key=.
Reserved __expo_* launch URL params are ignored on Expo Go and development build launch URLs, so they no longer become route search params.
Deprecations 5
A warning is now shown when a header toolbar button or menu uses the unsupported
imageprop on iOS.Development now warns when this method is called during render.
Development warns when a native stack route above a modal has no presentation or, on iOS, uses presentation: 'card'.
Warns when tabs, native tabs, drawer, or top tabs set an anchor while
backBehavioris notinitialRoute.Adds a development warning when navigation.isFocused() is called during render.
New APIs and options 16
NativeTabs and NativeTabs.Trigger now accept
backgroundImageincontentStyle.Adds useCanDismiss() to read dismiss capability during render.
Android header Stack.Toolbar accepts buttonContainerColor to draw buttons and menu buttons on a round container in that color.
Adds an override for the header's top offset while aligning JS stack and tabs headers with native navigation bars on iPhone Duo.
Adds a prop to hide and show the tab bar without animation on iOS.
Adds a prop to select the sidebar or tab bar when only one of them can show on iOS.
Adds a prop to show a tab on its own surface in the tab bar on iOS 27 and later.
Adds a hook for reconciling tab history in custom tab navigators.
Adds a hook to read back navigation capability during render.
Exported the ExtendedRouter type so custom routers can type the routers they create.
Exported the RouterExtensionMembers type so custom routers can type the extension members they create.
Call this API to restore the previous header appearance on iOS 26 and later.
Adds a performance mark recorded when a navigation action is queued.
Passes the current pathname and params props to the +html component.
Exports the type so custom routers can type the browser history instruction they return.
Allows setting the native header's light or dark interface style per Stack screen on iOS.
Performance 2
Reduces processing overhead.
Reads the anchor only when a layout is first needed, so async routes apply anchors and startup no longer loads every layout.
Behavior and default changes 5
On Android, the menu uses Material 3 Expressive: inline submenus are groups, and actions with isOn are selectable items.
A trigger with
role="search"becomes a native search tab on iOS 26.1 and later.Automatic safe-area measurements are disabled on web to preserve streamed content during hydration.
On iOS 26 and later, native header appearance is used by default.
Stack.Toolbar is now stable.
Tooling 1
Development now warns when a modal route is the first screen in a native stack and renders as a card.
Fixes and other changes 37
Fixes
activityEnablednot hiding screens of nested navigators, such as a Stack in a NativeTabs tab.Redirects to group tabs now work when the focused route has no visible tab trigger.
The NativeTabs.Trigger.Icon prop works on Android and for SF Symbols; default and selected icons can use different rendering modes on iOS.
Fixes an iOS crash when a mounted NativeTabs.Trigger changes to or from the search role.
Screens no longer render again when navigated to with the same param values.
Unfocused screens on web use inert instead of aria-hidden.
Use the Expo Router origin option to allow form submissions when the server runs behind a proxy.
Dynamic segments now match the URL and query strings are preserved in redirects.
Fixes the first fade or shift animation when opening a lazy JavaScript tab.
Prevents Link from dropping search params, the hash, or part of an external URL when they contain parentheses.
router.canDismiss() no longer returns false for an anchored stack opened from a deep link.
Child query parameters are restored in layout useLocalSearchParams.
Fixes custom matcher types for global and
@jest/globalswhen using the testing library.Changing the tab bar's
hiddenprop on Android keeps native tab content mounted.Tab and drawer history now lists the tab that Back goes to after a deep link.
Fixes nested-stack dismissal so it goes back to the screen already in the stack instead of pushing a second screen.
Fixes a crash with react-native-screens 5 and supports
Split.StackandSplit.HeaderConfiginSplitView.Columnon iOS.The outgoing tab stays attached until its transition finishes, preventing the arriving tab from rendering blank.
TabList is padded by the left and right safe area insets so tab triggers stay clear of the iPhone Duo rail and landscape cutouts.
The JavaScript top tab bar is laid out inside the left and right safe area insets; the safeAreaInsets prop overrides them.
In development, the “Bundling...” toast no longer logs the useNativeDriver warning.
Deep links to screens inside existing navigators return to the existing screen instead of stacking a second copy of the navigator over a presented modal or sheet.
Fixes the iOS zoom transition when closing a screen opened with Link.AppleZoom using router.back().
Fixes a crash when swiping the drawer on React Native 0.88.
The generated Href type is smaller, preventing large apps from failing with TS2590.
The first push to a screen is no longer incorrectly reported as pagePreloaded.
Fixes Tabs and Drawer routes retaining the previous ID's nested navigator state after navigating to a new ID.
Returns the current state, rather than the previous state, when called inside a state event listener.
Waits for the initial navigation state with Suspense.
On iOS 26 Liquid Glass, the header title adapts its color to content scrolling underneath.
Interfaces extending UnknownOutputParams can declare optional params, allowing omitted query parameters to be typed as optional.
Routes that throw during server rendering now show the error overlay instead of an "Internal Error" page in the dev server.
Fixes platform-specific route parsing and loader keys.
Restores the ./plugin subpath export so typed config plugins can be imported from <package>/plugin again.
Fixes the missing back animation after opening a screen from a link preview on iOS.
Fixes a production launch crash when the app has no scheme.
Resolves Native Tabs xcasset icon names through the iOS asset catalog so symbol sets render.
expo-router 64 changes
Security 1
Nested protected routes now take their parents' guard prop into account.
Fixes and other changes 3
Its wrapper no longer forces a remount due to a SafeAreaProvider update.
routeInfo now updates on back navigation.
Unnecessary renders on screen blur are fixed.