Description
The current solution for the "Fetch users from GitHub" task demonstrates parallel execution by mixing .then() with async/await. While this serves its stated pedagogical purpose, modern JavaScript codebases typically utilize pure async/await combined with Promise.allSettled for concurrent, fault-tolerant network requests.
Proposal
I propose adding a brief "Alternative modern approach" section to the bottom of the solution.md file. This addition will demonstrate how to achieve the same concurrent execution and error handling using Promise.allSettled and asynchronous array mapping, without removing the original lesson.
Description
The current solution for the "Fetch users from GitHub" task demonstrates parallel execution by mixing
.then()withasync/await. While this serves its stated pedagogical purpose, modern JavaScript codebases typically utilize pureasync/awaitcombined withPromise.allSettledfor concurrent, fault-tolerant network requests.Proposal
I propose adding a brief "Alternative modern approach" section to the bottom of the
solution.mdfile. This addition will demonstrate how to achieve the same concurrent execution and error handling usingPromise.allSettledand asynchronous array mapping, without removing the original lesson.