5.0.0
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
- Add Boss Button component to quickly close and navigate to DuckDuckGo
- 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
- See the full version 5.0.0 PR by @gregrickaby in #488
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. ✅
Full Changelog: 4.0.0...5.0.0