-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat(learn): add article on promises #7645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.
Files not reviewed (2)
- apps/site/navigation.json: Language not supported
- packages/i18n/locales/en.json: Language not supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also cover the relationship between promises, queueMicrotask, process.nextTick and setImmediate.
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice but nothing about await on top level
apps/site/pages/en/learn/asynchronous-work/promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's ask @mcollina to review as well.
Lighthouse Results
|
All concerns were addressed, @mcollina, If are still blocking, please leave a new review
Description
This PR adds an explanation of JavaScript / Node.js Promises to the website.
I took some feedback from #7639, and tried to incorporate specific examples and real-world scenarios.
Related Issues
Fixes: #7200
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.