Expo Router 58 stabilizes server features and native navigation
Brief
Expo Router 58 makes several server and native navigation features stable, with defaults and behavior changes for web apps.
Stable features and defaults
- Data loaders, server rendering, server middleware, Native Tabs, and Stack.Toolbar are stable.
- Server features and async routes on web are enabled by default for supported output modes; the corresponding unstable server flags can be removed.
Web behavior and migration
- Loader responses now use the platform HTTP cache and Cache-Control headers; pending loader requests are canceled when navigating away.
- With web.output: "server", HTML is rendered on every request. Static output with the new apiRoutes option preserves pre-rendered HTML with API routes.
- Async routes are enabled by default on web. The migration guide says changes should be mostly mechanical.
Navigation updates
- The rebuilt navigation core enables React transitions, Activity, lazy layouts, and screen error boundaries while keeping the public API largely unchanged.
- On iOS 26 and later, stack headers use the native appearance by default.
Generated by AI from the original article. Check the source for full details.