reactjs / reactjs/react.dev

[Bug]: Blog article navigation links are backwards

未關閉
#7,844 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

bug: confirmed
主要語言
JavaScript
星號
11.8k
分支
7.9k
平均合併
1 天 11 小時
30 天內合併 PR
11

描述

Summary

The "Previous" and "Next" blog navigation links on https://react.dev/blog appear to be reversed.

Page

https://react.dev/blog/[date]/[articalName]

Details

❌ Current Behavior:

  • The "Previous" link points to a newer post.
    -The "Next" link points to an older post.

✅ Expected Behavior:
-"Previous" should go to an older post.
-"Next" should go to a newer post — matching typical blog UX.

Example:
On this post:
https://react.dev/blog/2024/04/25/react-19](https://react.dev/blog/2025/04/23/react-labs-view-transitions-activity-and-more

At the bottom:
-"Previous" goes to a newer post
-"Next" goes to an older post

Image
Image

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

https://react.dev/blog/[date]/[articalName] 的部落格文章頁面開始,追蹤 Previous/Next 導覽。將連結與相鄰文章的日期進行比較;當 Previous 指向較舊的文章而 Next 指向較新的文章時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, react
領域
documentation, web-dev
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。