Skip to content

Conversation

rururux
Copy link
Contributor

@rururux rururux commented Oct 11, 2025

fixes #14429

Previously, routes that only defined an action and had middleware could fail to
invoke the action unless at least one loader was present in the matched route tree.
This patch ensures the middleware execution path correctly handles action-only routes by always executing the
action phase even when no loaders are found.

Copy link

changeset-bot bot commented Oct 11, 2025

🦋 Changeset detected

Latest commit: c967d24

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
react-router Patch
@react-router/architect Patch
@react-router/cloudflare Patch
@react-router/dev Patch
react-router-dom Patch
@react-router/express Patch
@react-router/node Patch
@react-router/serve Patch
@react-router/fs-routes Patch
@react-router/remix-routes-option-adapter Patch
create-react-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant