Proposal: Add modern `Promise.allSettled` alternative to "Fetch users" task solution
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- documentation
Research direction
Read 5-network/01-fetch/01-fetch-users/solution.md alongside the linked task.md and existing solution. Add a brief “Alternative modern approach” section demonstrating concurrent, fault-tolerant requests with Promise.allSettled, async/await, and asynchronous array mapping, while retaining the original lesson. Done means the example is clear, consistent with the task, and documented in the solution file.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- HTML
- Stars
- 25.5k
- Forks
- 4k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from javascript-tutorial/en.javascript.info
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Keyboard events: keydown filtering example can't block IME-composed input (Korean/Japanese/Chinese) Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
javascript-tutorial/en.javascript.info#3978 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
All issues in javascript-tutorial/en.javascript.info
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100