Title: Proposal: Add modern `Promise.allSettled` alternative to "Fetch users" task solution · Issue #3986 · javascript-tutorial/en.javascript.info · GitHub
Open Graph Title: Proposal: Add modern `Promise.allSettled` alternative to "Fetch users" task solution · Issue #3986 · javascript-tutorial/en.javascript.info
X Title: Proposal: Add modern `Promise.allSettled` alternative to "Fetch users" task solution · Issue #3986 · javascript-tutorial/en.javascript.info
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 p...
Open Graph 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 ...
X 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 purpos...
Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/issues/3986
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: Add modern `Promise.allSettled` alternative to \"Fetch users\" task solution","articleBody":"## Description\n\nThe current [solution](https://github.com/javascript-tutorial/en.javascript.info/blob/20208769e528337949e946f526534d61d38bac47/5-network/01-fetch/01-fetch-users/solution.md) for the [\"Fetch users from GitHub\"](https://github.com/javascript-tutorial/en.javascript.info/blob/20208769e528337949e946f526534d61d38bac47/5-network/01-fetch/01-fetch-users/task.md) 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.\n\n## Proposal\n\nI 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.","author":{"url":"https://github.com/illia-m-b","@type":"Person","name":"illia-m-b"},"datePublished":"2026-08-05T17:51:49Z","url":"https://github.com/javascript-tutorial/en.javascript.info/issues/3986"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:de115a04-9978-93a3-1228-4bd912e9e9b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4AC:20CF92:FD4E2:15F72E:6AFBDB52 |
| html-safe-nonce | 054a095df0dd41bf9cad0ba158a773c376548f394a6b7acac29c2a2aa732a0ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEFDOjIwQ0Y5MjpGRDRFMjoxNUY3MkU6NkFGQkRCNTIiLCJ2aXNpdG9yX2lkIjoiODU2NTM5NDcxMzAwNzc4ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 10e85a70d12b6a8dda5edea7948a790a015ecf5a96794b74531eea645b68f0c3 |
| hovercard-subject-tag | issue:5073721454 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javascript-tutorial/en.javascript.info/3986/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c19e262932229bfd3d15970b72fc43d45283e042cf3185aa0516bdee4f629e5/javascript-tutorial/en.javascript.info/issues/3986 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c19e262932229bfd3d15970b72fc43d45283e042cf3185aa0516bdee4f629e5/javascript-tutorial/en.javascript.info/issues/3986 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | illia-m-b |
| hostname | github.com |
| expected-hostname | github.com |
| None | 18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07 |
| turbo-cache-control | no-preview |
| go-import | github.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git |
| octolytics-dimension-user_id | 49552305 |
| octolytics-dimension-user_login | javascript-tutorial |
| octolytics-dimension-repository_id | 93253246 |
| octolytics-dimension-repository_nwo | javascript-tutorial/en.javascript.info |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93253246 |
| octolytics-dimension-repository_network_root_nwo | javascript-tutorial/en.javascript.info |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 820be804f18e1ef3940bd74a00d41d73d02e2b91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width