Expo Router

File-based routing for React Native: each file in app/ is a screen, _layout.tsx files choose the navigator (Stack, Tabs or Slot), and every screen gets a URL, so links and deep links work without a route table.

Minimal example

text
app/_layout.tsx          root Stack
app/(tabs)/index.tsx     "/"
app/restaurant/[id].tsx  "/restaurant/42"

Learn this concept

Lesson 4.2 · Expo Router navigation

Used in exercises

Exercise 4.4 · Expo app shell
Prerequisite conceptsCore components