sabesansathananthan / react-github-repo-cards

User can show the GitHub repository cards in their react wesite. Card component is created using Material-UI
https://react-github-repo-cards.vercel.app/
22 stars 3 forks source link

Fixed rendering time #7

Closed ad-dan closed 4 years ago

ad-dan commented 4 years ago

Fixes #6

One of the biggest reasons for load times was accessing the language color code API. Fixed it by caching in local storage.

The second biggest reason was accessing each repo's details using individual requests. All those requests really add up. Fixed by querying the user's repositories API endpoint and fetching all required details in one go.

ad-dan commented 4 years ago

Shows top 8 repos now

sabesansathananthan commented 4 years ago

Thank you @ad-dan . Nice work ❤❤❤

sabesansathananthan commented 4 years ago

@ad-dan I made Some fixes. watch it. Don't forget to give a star