Skip to content

Fix missing lists-and-keys HTML redirect - #8748

Open
rickvian wants to merge 1 commit into
reactjs:mainfrom
rickvian:codex/issue-7187
Open

rickvian wants to merge 1 commit into
reactjs:mainfrom
rickvian:codex/issue-7187

Conversation

@rickvian

Copy link
Copy Markdown

Adds the missing legacy .html alias for the “Lists and Keys” docs link. It uses the same destination and temporary redirect as the existing extensionless route.

Fixes #7187

Test plan

  • Fix: vercel dev --local --listen 127.0.0.1:4174; /docs/lists-and-keys.html#keys returned HTTP 307 to /learn/rendering-lists#keeping-list-items-in-order-with-key.
  • Regression: /docs/lists-and-keys still returned HTTP 307 to the same Learn page.
  • Config: Node assertions verified both redirect entries and their shared destination; Prettier and git diff --check passed.

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — d8b445e9 Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning: Each child in a list should have a unique "key" prop.

1 participant