Skip to content

Conversation

brophdawg11
Copy link
Contributor

@brophdawg11 brophdawg11 commented May 8, 2025

Small miss in the new types that we had in Remix v2: remix-run/remix#6231. See the changeset for scenarios.

Closes #13541

Copy link

changeset-bot bot commented May 8, 2025

🦋 Changeset detected

Latest commit: 215ead9

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

@brophdawg11 brophdawg11 merged commit 369b100 into dev May 9, 2025
5 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/route-meta-optional-data branch May 9, 2025 14:47
Copy link
Contributor

🤖 Hello there,

We just published version 7.6.1 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@GabenGar
Copy link

What am I supposed to do if meta() values depend on something like localization? I can't just duplicate locale fetching logic from the loader in case data is undefined for whatever reason because this function can't be async.

@MichaelDeBoey MichaelDeBoey changed the title Update Route.MetaArgs to reflect optional data fix(react-router): update Route.MetaArgs to reflect optional data Jul 20, 2025
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.

Full reload on 404 route fails due to missing root loader data
4 participants