Skip to content

Expo Router 58 stabilizes server features and Native Tabs

updated

Expo has released Expo Router 58, rebuilt around a new navigation core and concurrent React. The release stabilizes previously experimental server features, makes Native Tabs and Stack.Toolbar stable, and adds support for React transitions and <Activity>.

Stable server features

Data loaders, server rendering, and server middleware are now stable and enabled by default for supported web output modes. Data loaders are on for web.output: "static" and "server", server middleware is on by default, and server rendering is on for web.output: "server". The unstable_useServerRendering, unstable_useServerDataLoaders, and unstable_useServerMiddleware flags can be removed from configuration.

Loader responses now use the platform's HTTP cache, controlled through Cache-Control headers, and Expo Router no longer keeps loader data in memory between route visits. Pending loader requests are cancelled when navigating away from a route.

With web.output: "server", HTML is now rendered on every request rather than at export time. Projects that want pre-rendered HTML with API routes can use static output with the new apiRoutes option.

React transitions and Activity

Transitions and Activity are now part of navigation, though the Expo Router APIs controlling them are experimental and their names and options can change. By default, transitions are used only for screen preloading; they can be toggled per navigation action with the inTransition option or enabled app-wide. unstable_useIsNavigating() can show progress while a navigation is pending.

React Activity support, when enabled, freezes screens that are not visible while preserving their state and suspending their effects. In Native Tabs, activityEnabled offers behavior similar to the lazy prop in JavaScript Tabs.

Native by default

On iOS 26 and later, the stack header uses the native appearance by default, with titles adapting their color to content scrolling under a transparent Liquid Glass header. Calling enableLegacyHeaderAppearance() at the top level of the root layout restores the previous look.

Native Tabs are stable, and imports should change from expo-router/unstable-native-tabs to expo-router/native-tabs. Toolbar, which adds native header buttons and bottom toolbars on iOS and Android, is also stable. Expo points to a separate guide on supporting iPhone Duo.

Async routes, new core and smaller bundles

Async routes are stable and on by default on web, loading each route as a separate bundle. Internally, navigation state now lives in a single global state and reducer instead of being spread across navigators; the public API remains largely unchanged. Bundle size has been reduced by removing unnecessary dependencies and marking others as optional. An experimental granular chunking option creates common chunks that hold only the dependencies shared by the routes that need them.

Breaking changes and compatibility

The experimental web modal API has been removed in favor of custom modals using transparentModal. Router 58 ships with react-native-screens 4.30.1 and also supports 5.0.0-alpha.

Upgrading

Expo recommends following the SDK 57 to 58 migration guide, rebuilding the development build, and running:

npx expo-doctor

Navigation patterns that behave differently and are not covered by the guide can be reported as issues on expo/expo with a repro.

Source: expo.dev