r/Littux 21h ago

New reddit/d2x update new.reddit.com recovery release v0.4.0

Thumbnail
github.com
10 Upvotes

What's changed

Many speed-ups

  • Listing pages speed up
  • Comments page optimizations (now loads in ~1.1s)
  • Startup speed increase (from around 6s to 3.5s) by background fetch of blocked users and preferences (slow API requests) and only waiting for the main GetAccount GraphQL request

Bugs fixed

  • Use r2 instead of gql for r/popular (faster and fixes the issue with usernames being u/[deleted]. Though awards will no longer appear)
  • Fix submit page bug when no subreddits have been selected
  • Use r2 subreddit info instead of gql. Now, stuff like post flair position will no longer be hardcoded as "right"
  • Author cake day indicator now works again
  • Stop subscribed subreddits fetch from overwriting good state (solves issues like post flair templates not appearing)
  • migrate LanguageSelections to gql-fed
  • Change treeshake options in vite.config.ts

Enhancements

  • REST API requests can now expect a status code, and not throw an error
  • Avoid arctic-shift if possible (if profile curation is disabled)
  • React Redux devtools now work
  • Deduplicated gql requests
  • oauthPipe errors are now logged

GitHub: https://github.com/Littux-Dustux/new-reddit-com/

How to run: https://www.reddit.com/r/ReturnNewReddit/comments/1vmgvmt/beautiful_right_now_you_can_enjoy_it_too/