RSSNext / Follow

🧡 Follow your favorites in one inbox
https://follow.is
GNU General Public License v3.0
18.26k stars 746 forks source link

fix: improve perform for feed column #1708

Closed lawvs closed 3 days ago

lawvs commented 3 days ago

Refactor components to enhance performance through memoization and improved state management.

Adjustments include changes to feed actions and modal handling, resulting in a more efficient rendering process.

vercel[bot] commented 3 days ago

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

Name Status Preview Comments Updated (UTC)
follow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 7:53am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **follow-external-ssr** | ⬜️ Ignored ([Inspect](https://vercel.com/rss3/follow-external-ssr/3jjDM3DEmQSDNnJ1NDLZe4YKawaD)) | [Visit Preview](https://follow-external-ssr-git-fix-performance-rss3.vercel.app) | | Nov 22, 2024 7:53am |
follow-reviewer-bot[bot] commented 3 days ago

Suggested PR Title:

refactor: improve hooks and clean up feed actions

Change Summary: This PR refactors various hooks in the renderer, notably enhancing useEntryActions and useFeedActions for better performance and readability. Significant changes include the use of useMemo to optimize action computation, removal of unnecessary parameters in some hooks, and cleanup of stale code, resulting in a streamlined codebase. Additionally, adjustments to UI interactions in the feed and wallet modules improve user experience.

Code Review: No change requests necessary.