mozg.betaSign in

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 exam
How do I create a basic API route and what HTTP methods can it handle?File-Based Routes & API Routes
What is generateStaticParams and how does it work with dynamic routes?Static & Server Rendering
How do I set up typed routes in my Expo Router project?Typed Routes
How do data loaders work with Suspense and error handling?Advanced Patterns: Data Loaders
What are the differences between createServerLoader and createStaticLoader?Advanced Patterns: Data Loaders
What can middleware do and what are its limitations?Advanced Patterns: Middleware
How do I access query parameters and dynamic route segments in an API route?File-Based Routes & API Routes
What presentation modes are available and how do they differ across platforms?Modals & Navigation Patterns
use this brain
# 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 token

Use 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 it

What it can answer

30 checks
59%
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
exam badge — share this score →

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.