Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.0.0 #488

Merged
merged 17 commits into from
Feb 9, 2024
Merged

Version 5.0.0 #488

merged 17 commits into from
Feb 9, 2024

Conversation

gregrickaby
Copy link
Owner

@gregrickaby gregrickaby commented Feb 9, 2024

What's Changed

  • Move all queries to React Server Components via Server Actions (no more client-side fetching via SWR)
  • Migrate styles back to Tailwind
  • Finally using a Masonry grid
  • Use real-time search which mimics other major search engines in both form and feel
  • This release also trims down the total amount of JavaScript loaded from 277kB to 84kB
  • HTTP data transferred down from several megabytes to only 126kB

Goals

  • The primary goal is to improve performance, because I'm being penalized by Google for having too much CLS and INP. I'm now getting perfect scores. (See https://pagespeed.web.dev/analysis/https-redditviewer-vercel-app/c1fssd1adt?form_factor=desktop). The app as a whole feels much snappier! ✅
  • The secondary goal is to eliminate the need to rely on Vercel's Edge network to perform client-side fetches, which costs money. Instead all fetches are happening server-side via Serverless functions. ✅

@gregrickaby gregrickaby self-assigned this Feb 9, 2024
Copy link

vercel bot commented Feb 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
viewer-for-reddit ✅ Ready (Inspect) Visit Preview Feb 9, 2024 9:55pm

@gregrickaby gregrickaby merged commit a6af7c5 into main Feb 9, 2024
4 checks passed
@gregrickaby gregrickaby deleted the canary branch February 9, 2024 21:57
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.

1 participant