Skip to content

docs(how-to/data-strategy): fix broken links#15111

Merged
timdorr merged 2 commits into
remix-run:mainfrom
morgan-coded:docs/fix-data-strategy-route-object-links
May 29, 2026
Merged

docs(how-to/data-strategy): fix broken links#15111
timdorr merged 2 commits into
remix-run:mainfrom
morgan-coded:docs/fix-data-strategy-route-object-links

Conversation

@morgan-coded

Copy link
Copy Markdown
Contributor

The "Custom Middleware" and "Custom Handler" sections of the Data Strategy
guide link to ../../start/data/route-object. From docs/how-to/, ../../
resolves outside the docs/ tree (to a non-existent start/data/route-object),
so these render as dead links on the docs site. One of them also had a typo in
the path: daoute-object.

This corrects all three inline links to ../start/data/route-object, which
matches the [loader]/[action] reference-link definitions already used at the
bottom of the same file.

Docs-only change, branched from main per CONTRIBUTING. No change file needed
(no user-facing API impact).

The "Custom Middleware" and "Custom Handler" sections linked to
`../../start/data/route-object`, which resolves outside the `docs/`
tree (to a non-existent `start/data/route-object`). One link also had
a typo, `daoute-object`. Corrected all three to `../start/data/route-object`,
matching the `[loader]`/`[action]` reference definitions already used at
the bottom of the same file.
Copilot AI review requested due to automatic review settings May 29, 2026 15:15
@remix-cla-bot

remix-cla-bot Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Hi @morgan-coded,

Welcome, and thank you for contributing to React Router!

Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once.

You may review the CLA and sign it by adding your name to contributors.yml.

Once the CLA is signed, the CLA Signed label will be added to the pull request.

If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run.

Thanks!

- The Remix team

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates internal documentation links in the data strategy guide so route-object references resolve correctly.

Changes:

  • Fix relative link paths to route-object#handle and route-object#loader sections.
  • Correct a typo in a previously broken link target (daoute-objectroute-object).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +187 to +189
Let's define a middleware on each route via [`handle`](../start/data/route-object#handle)
and call middleware sequentially first, then call all
[`loader`](../../start/data/route-object#loader)s in parallel - providing
[`loader`](../start/data/route-object#loader)s in parallel - providing
### Custom Handler

It's also possible you don't even want to define a [`loader`](../../start/daoute-object#loader)
It's also possible you don't even want to define a [`loader`](../start/data/route-object#loader)
@remix-cla-bot

remix-cla-bot Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@MichaelDeBoey MichaelDeBoey changed the title docs: fix broken route-object links in the Data Strategy guide docs(how-to/data-strategy): fix broken links May 29, 2026
@timdorr

timdorr commented May 29, 2026

Copy link
Copy Markdown
Member

Thanks!

@timdorr timdorr merged commit ab65df1 into remix-run:main May 29, 2026
1 check passed
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.

4 participants