Skip to content

Handle meta and links route exports in RSC #14136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 7, 2025

Conversation

markdalgleish
Copy link
Member

@markdalgleish markdalgleish commented Aug 7, 2025

The meta and links exports are not expected to be on the route object itself, but rather in the routeModules object. To fix this, we now manage the minimal set of route module exports for these to work.

Copy link

changeset-bot bot commented Aug 7, 2025

🦋 Changeset detected

Latest commit: 0552eed

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

@markdalgleish markdalgleish merged commit 227a390 into dev Aug 7, 2025
8 checks passed
@markdalgleish markdalgleish deleted the markdalgleish/rsc-meta-links-export branch August 7, 2025 22:31
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.

2 participants