File Based Routing
File-based routing in React Native is a method of managing navigation in your app by organizing routes based on the file structure of your project. This approach allows you to create a clean and intuitive navigation system by mapping each file in your app's directory to a specific route.
Key Terms
| Term | Definition |
|---|---|
| File Based Routing | A routing system where the URL structure and navigation of an app is determined by the file structure in your project's directory. Each file in the app directory becomes a route in your application. |
| Expo Router | A file-based router for React Native and web applications built on top of React Navigation. It enables file-based routing similar to Next.js, making navigation setup more intuitive and maintainable. |
Resources
Expo Docs - Intro to Expo Router