expo-router
SKILL.md
What is Expo Router?
Expo Router is a file-based router for Universal React Native applications. It brings the best file-system routing concepts from the web to native applications, allowing your routing to work seamlessly across Android, iOS, and web platforms.
Core Principles
- File-based routing: When a file is added to the
app/directory, it automatically becomes a route - Universal: Same navigation structure works on Android, iOS, and web
- Built on React Navigation: Provides native platform-optimized navigation
- Deep linkable: Every screen is automatically shareable with URLs
- Offline-first: Routes are cached and run without network connection
- Type-safe: Full TypeScript support with auto-generated typed routes
File Notation System
Expo Router uses special file naming conventions to define routing behavior: