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 摘要。