---
title: 'Expo Router 58: even more native'
authors: Jakub Tkacz, Hassan Khan
published: November 30, 2026
categories: Product, Development
tags: Expo Router
---

Expo Router 58 is finally here, rebuilt with a new navigation core and concurrent React. It brings a more polished and refined Router experience, with improvements such as support for React transitions, and `<Activity>` and it stabilizes all experimental server features to bring a much more powerful server experience.

- Data loaders, server rendering, and server middleware no longer need `unstable_` flags. Data loaders now cache with `Cache-Control` headers. Async routes are on by default on web.
- Native Tabs and `Stack.Toolbar` are stable. On iOS 26, the stack header uses the native appearance by default.
- We’ve reworked Expo Router’s state management. This unlocks React transitions, React Activity, and lazy layouts. The public APIs stay the same for most apps.

## Stable server features

Over the last two SDKs, we introduced server features in Expo Router as experiments. With 58, data loaders, server rendering, and server middleware are now stable and enabled by default for supported web output modes.

Here's a quick rundown of what changed:

| Feature | What changed |
| --- | --- |
| Data loaders | Enabled by default for web.output: "static" and "server" |
| Server middleware | Enabled by default |
| Server rendering | Enabled by default for web.output: "server" |
| Async routes on web | Enabled by default in development and production |

You can remove `unstable_useServerRendering`, `unstable_useServerDataLoaders`, and `unstable_useServerMiddleware` from your configuration as these flags are no longer needed.

### Better data loading

We've also improved how data loaders handle caching and navigation.

Loader responses now use the platform’s HTTP cache, giving you control over caching using `Cache-Control` headers. Expo Router no longer keeps loader data cached in-memory between route visits.

```typescript
// app/profile.tsx
import { setResponseHeaders } from 'expo-server';

export async function loader() {
  setResponseHeaders({ 'Cache-Control': 'private, max-age=60' });
  return { user: 'authenticated' };
}
```

When navigating away from a route, Expo Router also cancels its pending loader requests to avoid unnecessary work for screens that are no longer needed.

### Changes to server rendering

One important behavior change: with `web.output: "server"`, Expo Router now renders HTML on every request instead of generating it at export time.

If you’d prefer to keep the previous behavior of pre-rendered HTML with API routes, use static output with the new `apiRoutes` option:

```json
{
  "expo": {
    "web": { "output": "static" },
    "plugins": [["expo-router", { "apiRoutes": true }]]
  }
}
```

Docs: [Data loaders](https://docs.expo.dev/router/web/data-loaders/), [Server rendering](https://docs.expo.dev/router/web/server-rendering/), [Middleware](https://docs.expo.dev/router/web/middleware/).

## React transitions and Activity

Expo Router 58 is built for concurrent React. Two React features are now part of navigation: Transitions and Activity. The Expo Router APIs that control them are experimental in this release. Their names and options can change, but the behavior is ready for your application.

### React transitions

[React transitions](https://react.dev/reference/react/startTransition) help make navigation smoother and more responsive. They allow React to pause rendering work to handle user interactions first. If the next screen needs time to load data, React can keep the current screen visible until the new one is ready, instead of showing a loading screen.

By default, Expo Router uses transitions only for screen preloading. You can enable or disable them for individual navigation actions using the [`inTransition`](https://docs.expo.dev/router/advanced/navigation-transitions/#choose-a-transition-mode) option, or enable them globally for the entire app.

```tsx
// app/_layout.tsx
import { router, Stack } from 'expo-router';

// Enable globally...
router.setTransitionMode('always');

export default function RootLayout() {
  // ...or for a specific navigation
  const pushInTransition = () =>
    router.push('/details', { inTransition: true });
  const goBackSynchronously = () =>
    router.back({ inTransition: false });
  return <Stack />;
}
```

To show progress while a navigation is pending, use [`unstable_useIsNavigating()`](https://docs.expo.dev/router/advanced/navigation-transitions/#show-pending-navigation):

```tsx
import { unstable_useIsNavigating } from 'expo-router';
import { ActivityIndicator } from 'react-native';

export function NavigationProgress() {
  const isNavigating = unstable_useIsNavigating();
  return <ActivityIndicator animating={isNavigating} />;
}
```

Docs: [Configure navigation transitions](https://docs.expo.dev/router/advanced/navigation-transitions/).

### React Activity

Apps usually keep many screens in the element tree; every screen in a stack and every tab that the user opened used to remain active. You can now enable React Activity support, which freezes screens that aren’t currently visible, while preserving their state. This also suspends their effects, so subscriptions and timers will stop until the content is visible again.

```tsx
import { Stack } from 'expo-router';

export default function RootLayout() {
  return (
    <Stack activityEnabled>
      <Stack.Screen name="music" />
      <Stack.Screen name="editor" />
    </Stack>
  );
}
```

If you previously used the `lazy` prop in JavaScript Tabs, `activityEnabled` gives you similar behavior in Native Tabs. Expo Router renders every non-visible tab in a transition, so the work does not block user input and it freezes the tab right away.

```tsx
import { NativeTabs } from 'expo-router/native-tabs';

export default function RootLayout() {
  return (
    <NativeTabs activityEnabled>
      <NativeTabs.Trigger name="index" />
      <NativeTabs.Trigger name="list" />
    </NativeTabs>
  );
}
```

Docs: [Manage inactive routes with React Activity](https://docs.expo.dev/router/advanced/react-activity/).

## Native by default

If you've already migrated to native navigation for iOS Liquid Glass, you're ready for what's next: foldables. Because Native Tabs, Stack, and Toolbar are built on native primitives, they automatically adapt to new form factors.

### Native header

![iOS 26 native stack header in Expo Router 58 with a Liquid Glass back button, title and header buttons](https://cdn.sanity.io/images/9r24npb8/production/5d92f93d79a30e7ca4230c8f1548422575c1f035-3840x2160.png)

On iOS 26 and later, the stack header now uses the native appearance by default. Header titles adapt their color to the content that scrolls under a transparent Liquid Glass header.

To use the previous appearance, call `enableLegacyHeaderAppearance()` at the top level of the root layout.

```typescript
// app/_layout.tsx
import { enableLegacyHeaderAppearance, Stack } from 'expo-router';

enableLegacyHeaderAppearance();
```

Docs: [Review the iOS header appearance](https://docs.expo.dev/router/migrate/sdk-57-to-58/#review-the-ios-header-appearance).

### Native Tabs

![Native Tabs in Expo Router 58 adapting to iPhone Duo with a vertical tab bar](https://cdn.sanity.io/images/9r24npb8/production/2ae886c916decf9c4f6fdb1c726e8a9a70d396a3-3840x2160.png)

Native Tabs are stable. If you used `expo-router/unstable-native-tabs`, change the import to `expo-router/native-tabs`.

```tsx
// app/_layout.tsx
import { NativeTabs } from 'expo-router/native-tabs';

export default function TabLayout() {
  return (
    <NativeTabs>
      <NativeTabs.Trigger name="index">
        <NativeTabs.Trigger.Label>Home</NativeTabs.Trigger.Label>
        <NativeTabs.Trigger.Icon sf="house.fill" md="home" />
      </NativeTabs.Trigger>
      <NativeTabs.Trigger name="search" role="search">
        <NativeTabs.Trigger.Label>Search</NativeTabs.Trigger.Label>
      </NativeTabs.Trigger>
    </NativeTabs>
  );
}
```

Docs: [Native Tabs](https://docs.expo.dev/router/advanced/native-tabs/).

### Toolbar

![Expo Router 58 Toolbar with native header buttons and bottom toolbars on Android, iPhone and iPhone Duo](https://cdn.sanity.io/images/9r24npb8/production/cc30a6595bb87213d1658ba3e2577f27ebbf35b7-3840x2160.png)

Toolbar adds native header buttons and bottom toolbars on iOS and Android. It is stable in 58.

```tsx
// Inside a screen component
<Stack.Toolbar placement="right">
  <Stack.Toolbar.Button
    icon={isFavorite ? 'star.fill' : 'star'}
    onPress={() => setIsFavorite(!isFavorite)}
  />
  <Stack.Toolbar.Button icon="square.and.arrow.up" onPress={share} />
</Stack.Toolbar>
```

Docs: [Stack toolbar](https://docs.expo.dev/router/advanced/stack-toolbar/).

### iPhone Duo support

These components already adapt to new devices. To fully prepare your app for iPhone Duo, read [Supporting iPhone Duo](https://expo.dev/blog/supporting-iphone-duo).

## Async routes, on by default

Async routes are stable on web and on by default. Each route loads as a separate bundle when the user opens it, so the first page loads less JavaScript and gives you better TTI (time to interactive).

```json
{
  "expo": {
    "plugins": [["expo-router", { "asyncRoutes": { "web": false } }]]
  }
}
```

## Under the hood: a new navigation core

Expo Router has always provided global APIs like `router.push`, `usePathname`, and `useGlobalSearchParams`, but navigation state was previously spread across individual navigators and required constant synchronization. In 58, we rebuilt the navigation core around a single global state and reducer, making navigation more predictable, simplifying maintenance, and enabling concurrent React features like transitions, Activity, lazy layouts, and screen error boundaries.

The public API remains largely unchanged. For details on user-facing changes, see the [SDK 57 → 58 migration guide](https://docs.expo.dev/router/migrate/sdk-57-to-58/), which we'll update as needed. If you encounter anything undocumented, please [open an issue](https://github.com/expo/expo/issues).

## Smaller bundles

To help your apps load faster, we've reduced the bundle size in Router 58. By removing unnecessary dependencies and marking others as optional, we've made it possible for your apps to ship less JavaScript, resulting in faster load times and improved overall performance.

![Bar chart: smaller bundles in Expo Router v58. Hermes bytecode 2.63 MB to 2.42 MB (−8.0%), minified JS gzip 441 kB to 390 kB (−11%), Hermes plus assets 3.63 MB to 2.45 MB (−33%)](https://cdn.sanity.io/images/9r24npb8/production/d217eedff7bea762634002f6b3d9661852871f08-2048x1152.png)

## New APIs and experiments

### Experimental granular chunking

To complement async routes on web, we’ve added a new way to create common chunks. Granular chunks now only hold the dependencies shared by the routes that need them, resulting in each route loading a much smaller subset of code. To try it, set this in your app config and keep async routes on for web:

```json
{
  "expo": {
    "experiments": {
      "chunking": { "mode": "granular" }
    }
  }
}
```

![Bar chart: median first-load JavaScript per route. SDK 57 4.42 MB, SDK 57 with async routes 4.05 MB, SDK 58 with granular chunking 3.07 MB](https://cdn.sanity.io/images/9r24npb8/production/85e0e6c38289f585d803827ab24a0588111a2599-2048x1152.png)

Docs: [Async routes](https://docs.expo.dev/router/web/async-routes/).

## Breaking changes

### The experimental web modal API has been removed

Expo Router 58 removes the experimental web modal API in favor of custom modals using `transparentModal`. You can learn how to build them in the new [web modals guide](https://docs.expo.dev/router/advanced/web-modals/).

## Special thanks

A huge thank you to the Software Mansion team for their work on `react-native-screens`, which powers Native Tabs and Native Stack. 58 ships with `react-native-screens` 4.30.1 and also supports 5.0.0-alpha. We're also grateful to all the external contributors for their continued feedback and contributions who helped make this release possible.

## Where to start with Expo Router in SDK 58

Check the [SDK 57 to 58 migration guide](https://docs.expo.dev/router/migrate/sdk-57-to-58/). The changes should be mostly mechanical. Then rebuild your development build and run `npx expo-doctor`. If a navigation pattern that worked in 57 behaves differently in 58 and the guide does not cover it, open an issue on [expo/expo](https://github.com/expo/expo/issues) with a repro.