Expo Router
ELI5 — The Vibe Check
Expo Router brings file-based routing to React Native — just like Next.js does for web. Create a file, get a route. It's the 'convention over configuration' approach to mobile navigation, and it's surprisingly delightful.
Real Talk
A file-based routing system for React Native built on top of React Navigation and Expo. Expo Router maps the app's file structure to navigation routes, supports nested layouts, typed routes, deep linking out of the box, and enables universal apps that share routes between web and native.
Show Me The Code
// app/(tabs)/home.tsx -> /home route
// app/(tabs)/settings.tsx -> /settings route
// app/user/[id].tsx -> /user/123 dynamic route
import { Link } from 'expo-router';
export default function Home() {
return <Link href="/user/42">View User</Link>;
}
When You'll Hear This
"Expo Router makes navigation in React Native feel like Next.js — file-based and intuitive." / "Deep linking just works with Expo Router because routes map directly to URLs."
Related Terms
Expo
Expo is the easy button for React Native.
File-Based Routing
File-Based Routing means your folder structure IS your routing. Create pages/about.vue and you get /about.
Next.js
Next.js is React's big sibling that adds superpowers like SSR, SSG, file-based routing, and API routes.
React Navigation
React Navigation handles all the screen-to-screen transitions in your React Native app — stack navigation, tab bars, drawers, the works.