react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Bug]: Blog article navigation links are backwards

Open MrD9877Copy opened this issue 7 months ago • 1 comments

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

MrD9877Copy avatar Jun 11 '25 05:06 MrD9877Copy

Makes sense, feel free to submit a PR!

rickhanlonii avatar Jun 11 '25 14:06 rickhanlonii

I've submitted a PR to fix this: #7850

oghenenyerhovwo-e avatar Jun 17 '25 15:06 oghenenyerhovwo-e

Hey @MrD9877Copy , I fixed the issue can you take a look at it?

SaujanyaMagarde avatar Jun 23 '25 19:06 SaujanyaMagarde

Hi @rickhanlonii, Could you please take a look at my pull request when you get a chance? If there’s anything that needs to be corrected, I’d be happy to make the necessary changes.

SaujanyaMagarde avatar Jun 25 '25 11:06 SaujanyaMagarde

https://github.com/reactjs/react.dev/pull/7850 is approved, just need the CLA signed to merge

rickhanlonii avatar Jun 28 '25 20:06 rickhanlonii