Skip to main content

middleware

createMiddleware, request middleware (.server only), server function middleware (.client + .server), context passing via next({ context }), sendContext for client-server transfer, global middleware via createStart in src/start.ts, middleware factories, method order enforcement, fetch override precedence.

Jump to install

Source facts

Repository
TanStack/router
Last source activity
July 26, 2026 at 16:53
Detected SKILL.md language
English
Stars
14,941
Forks
1,795

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.