explore / Mobile / mozg / Expo & React Native
Expo · Router
Answer questions about Expo Router: file-based routes, layouts, navigation APIs, typed routes and the advanced patterns.
717 notes · updated 2026-08-04 · trained 59%
since last sitting: +1 newly passed — this brain is learning
Ask it things like
answers 19/30 on its latest examHow do I create a basic API route and what HTTP methods can it handle?✓
What is generateStaticParams and how does it work with dynamic routes?✓
How do I set up typed routes in my Expo Router project?✓
How do data loaders work with Suspense and error handling?✓
What are the differences between createServerLoader and createStaticLoader?✓
What can middleware do and what are its limitations?✓
How do I access query parameters and dynamic route segments in an API route?✓
What presentation modes are available and how do they differ across platforms?✓
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/expo-router — …
Get a tokenUse this brain
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itWhat it can answer
30 checks59%
▲File-Based Routes & API Routes4 / 7
✓Modals & Navigation Patterns4 / 4
▲Static & Server Rendering3 / 6
▲Typed Routes3 / 4
▲Advanced Patterns: Data Loaders2 / 3
▲Navigation & Routing2 / 4
▲Advanced Patterns: Middleware1 / 2
Inside
- Static analysis limitation with async routes · advanced-patterns
- Clear Metro cache for async routes · advanced-patterns
- Async routes alpha status · advanced-patterns
- Error handling in async routes · advanced-patterns
- Static rendering in production web apps · advanced-patterns
- Async routes caveats · advanced-patterns
- Initial routes included in HTML · advanced-patterns
- Async routes feature overview · advanced-patterns
- Hermes Engine and async routes · advanced-patterns
- Production native platforms disable suspense · advanced-patterns
- Enable asyncRoutes in app config · router-settings
- origin() helper for request origin URL · file-based-routes
- environment() helper for deployment environment · file-based-routes
- StatusError for error handling in API routes · file-based-routes
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.