Skip to content

Commit fe0ab9c

Browse files
committed
Minor tweaks
1 parent 221645e commit fe0ab9c

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

versioned_docs/version-8.x/from-expo-router.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,15 @@ React Navigation starts with the navigation tree:
203203

204204
### Files and layouts
205205

206-
| Expo Router | React Navigation |
207-
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
208-
| `app/index.tsx` | A screen with `linking: ''`. Auto-detected based on the order or [`initialRouteName`](navigator.md#initial-route-name) |
209-
| `app/profile/[userId].tsx` | A screen with [`linking`](configuring-links.md#mapping-path-to-route-names) such as `profile/:userId` |
210-
| `app/[...slug].tsx` | A screen with [`linking: ':slug'`](configuring-links.md#mapping-path-to-route-names) or [`linking: '*'`](configuring-links.md#handling-unmatched-routes-or-404). |
211-
| `app/+not-found.tsx` | A screen with [`linking: '*'`](configuring-links.md#handling-unmatched-routes-or-404) |
212-
| Groups such as `(tabs)` | [Groups](group.md) in navigator configuration. |
213-
| `_layout.tsx` | [Navigator](navigator.md) configuration. |
214-
| `unstable_settings.initialRouteName` | [`initialRouteName`](navigator.md#initial-route-name) on the [navigator](navigator.md). |
206+
| Expo Router | React Navigation |
207+
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
208+
| `app/index.tsx` | A screen with `linking: ''`. Auto-detected based on the order or [`initialRouteName`](navigator.md#initial-route-name) |
209+
| `app/profile/[userId].tsx` | A screen with [`linking`](configuring-links.md#mapping-path-to-route-names) such as `profile/:userId` |
210+
| `app/[...slug].tsx` | A screen with [`linking: '*'`](configuring-links.md#handling-unmatched-routes-or-404). |
211+
| `app/+not-found.tsx` | A screen with [`linking: '*'`](configuring-links.md#handling-unmatched-routes-or-404) |
212+
| Groups such as `(tabs)` | [Groups](group.md) in navigator configuration. |
213+
| `_layout.tsx` | [Navigator](navigator.md) configuration. |
214+
| `unstable_settings.initialRouteName` | [`initialRouteName`](navigator.md#initial-route-name) on the [navigator](navigator.md). |
215215

216216
### Components and hooks
217217

@@ -241,14 +241,14 @@ React Navigation starts with the navigation tree:
241241

242242
### Features without direct replacements
243243

244-
| Expo Router | Migration note |
244+
| Expo Router | Alternative |
245245
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
246246
| Typed routes | [Type inference](typescript.md#setting-up-the-types) from the navigator and linking configuration. |
247247
| Protected routes | Conditional screens or groups with [`if`](static-configuration.md#if). |
248-
| Native tabs | Default on Android & iOS with [bottom tabs](bottom-tab-navigator.md). |
248+
| Native tabs | [Bottom tabs](bottom-tab-navigator.md) which render native tabs by default on Android & iOS. |
249249
| Headless tabs from `expo-router/ui` | Custom [`tabBar`](bottom-tab-navigator.md#tabbar) or [custom navigator](custom-navigators.md). |
250250
| API routes and server middleware | No direct equivalent. Move this logic to your server. |
251-
| Server rendering | Partial support for [server rendering](server-rendering.md) with manual setup. |
251+
| Server rendering | [Server rendering](server-rendering.md) with manual setup. |
252252
| Static rendering | No direct equivalent. |
253253
| Link preview and link menu | Custom UI or platform-specific components. |
254254
| Zoom transition | No direct equivalent, but planned. |

0 commit comments

Comments
 (0)