What problem does it solve?
This Skill simplifies navigation within Expo applications by implementing a file-based routing system, making it easier to manage screens, handle navigation logic, and pass data between them.
Core Features & Use Cases
- File-Based Routing: Automatically generates routes based on the file structure in the
app/ directory.
- Navigation: Supports imperative (programmatic) and declarative (link-based) navigation.
- Route Parameters: Handles dynamic routes and query parameters for flexible data passing.
- Layouts: Enables creation of root and tab layouts for consistent UI structure.
- Use Case: Quickly set up a new screen for user profiles that accepts a user ID in the URL, like
/users/123, and displays the user's details.
Quick Start
Use the expo-router skill to create a new screen at the path app/users/[id].tsx that displays the user ID.