You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
There are a few potential issues and improvements:
Error Handling: You might want to add error handling to your asynchronous functions (fetch and json()). This ensures that if there's an issue with the network request or parsing JSON, your code can handle it gracefully.
HTML Structure: Ensure that you have an element with the class about-contributors-section in your HTML where you want to append the contributor avatars.
Async/Await in Loops: The await keyword inside a loop may not be efficient if each iteration depends on the previous one. Consider using Promise.all() to make the requests concurrently.
Describe the solution you'd like
This code includes error handling for fetch requests, improves efficiency by using Promise.all() to fetch contributors concurrently, and assumes there's an HTML element with the class about-contributors-section where contributor avatars will be appended.
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
There are a few potential issues and improvements:
Error Handling: You might want to add error handling to your asynchronous functions
(fetch and json())
. This ensures that if there's an issue with the network request or parsing JSON, your code can handle it gracefully.HTML Structure: Ensure that you have an element with the class
about-contributors-section
in your HTML where you want to append the contributor avatars.Async/Await in Loops: The await keyword inside a loop may not be efficient if each iteration depends on the previous one. Consider using
Promise.all()
to make the requests concurrently.Describe the solution you'd like
This code includes error handling for fetch requests, improves efficiency by using
Promise.all()
to fetch contributors concurrently, and assumes there's an HTML element with the classabout-contributors-section
where contributor avatars will be appended.Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes
The text was updated successfully, but these errors were encountered: