NIVIKI.COM

Share this post

Hiểu rõ Promise trong Javascript

niviki.com

Discover more from NIVIKI.COM

Lan toả tinh thần tự do tài chính đến với nhiều người hơn nữa!
Over 1,000 subscribers
Continue reading
Sign in

Hiểu rõ Promise trong Javascript

Khoa Nguyen
Aug 30, 2017
Share this post

Hiểu rõ Promise trong Javascript

niviki.com
Share
Hiểu rõ Promise trong Javascript

Promise là gì

Promise là khái niệm rất quan trọng trong ES6, được ứng dụng trong hầu hết các framework, library của Javascript hiện nay như React, Redux, Mocha, Mongoose. Tuy nhiên để hiểu được promise không phải điều dễ dàng.

Vì thế mình đã làm 1 series gồm 11 video về Promise trong Javascript, hy vọng sẽ hữu ích cho bạn:

1. Javascript Engine là gì? V8 là sao?

<iframe width="560" height="314" src="//www.youtube.com/embed/uzJ3huwHC0A" allowfullscreen="allowfullscreen" data-mce-fragment="1"></iframe>


2. Synchronous và Asynchronous, callback queue và event loop là gì?

<iframe width="560" height="314" src="//www.youtube.com/embed/PA62E1Am6EI" allowfullscreen="allowfullscreen"></iframe>


3. Blocking và Non-Blocking là gì?

<iframe width="560" height="314" src="//www.youtube.com/embed/C_PH4B7EyCU" allowfullscreen="allowfullscreen"></iframe>

4. Giới thiệu và cách dùng Promise

<iframe width="560" height="314" src="//www.youtube.com/embed/yoFTYqcwXP4" allowfullscreen="allowfullscreen"></iframe>


5. 3 Trạng thái của Promise

<iframe width="560" height="314" src="//www.youtube.com/embed/wRHzSZYKXPU" allowfullscreen="allowfullscreen"></iframe>


6. Tự tạo Promise

<iframe width="560" height="314" src="//www.youtube.com/embed/Zd61k-AS2z8" allowfullscreen="allowfullscreen"></iframe>


7. Tại sao không dùng callback?

<iframe width="560" height="314" src="//www.youtube.com/embed/VMjmxpTV9BE" allowfullscreen="allowfullscreen"></iframe>


8. Hiểu rõ Promise chaining

<iframe width="560" height="314" src="//www.youtube.com/embed/-iCILCqqvVc" allowfullscreen="allowfullscreen"></iframe>


9. [Challenge] Promise chaining

<iframe width="560" height="314" src="//www.youtube.com/embed/3OjToj9U2ig" allowfullscreen="allowfullscreen"></iframe>


10. Sử dụng nhiều Promise với Promise.all

<iframe width="560" height="314" src="//www.youtube.com/embed/SghSsk8ksq4" allowfullscreen="allowfullscreen"></iframe>


11. ES7 Async/Await - Bước tiến của Promise?

<iframe width="560" height="314" src="//www.youtube.com/embed/FflweuR6CNI" allowfullscreen="allowfullscreen"></iframe>

Share this post

Hiểu rõ Promise trong Javascript

niviki.com
Share
Comments
Top
New
Community

No posts

Ready for more?

© 2023 Khoa Nguyen
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing