github-profile-analyzer
github-profile-analyzer copied to clipboard
Advanced Performance: Implement SWR/React Query for caching GitHub API responses
Description
Currently, when a user analyzes a profile, the app makes heavy requests to the GitHub API. If the user navigates away and back, the data is fetched again, wasting API rate limits and slowing down the UX.
Proposed Solution
I propose migrating the data fetching logic to useSWR or @tanstack/react-query. This will cache the API responses in memory, provide instant UI updates on back-navigation, and automatically deduplicate requests to prevent hitting GitHub rate limits.
I would love to work on this critical performance issue under the GSSoC '24 program! Could you please assign it to me?
assign me