Skip to content

Document React Router Middleware Usage #25997

@jmegs

Description

@jmegs

Proposed changes

Middleware is now stable in React Router framework mode. It requires a change to how custom server implementations (like app/worker.ts in the starter template) pass context to the request handler.

It would be great to hear the CF team's official advice on wiring this up.

Subject Matter

React Router middleware

Content Location

an addition to the React Router framework guide

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions