what is promise chaining?
JavaScript promise chaining pattern that chains promises to execute asynchronous operations in sequence.
The instance method of the Promise object such as then(), catch(), or finally() returns a separate promise object. Therefore, you can call the promise’s instance method on the return Promise.
Codesandbox link for Promise chaining -
https://codesandbox.io/s/why-promise-and-promise-chaining-ypp2q?file=/src/index.js:331-521
What is Promise? - visit here
https://www.youtube.com/watch?v=lHIsnx9WM6Y
what is callback? - Visit here
https://www.youtube.com/watch?v=C6M2-4_f02A
Hello!
Today's video is: why promise | what is promise chaining | create promise in javascript | javascript important concept
If you like this : why promise | what is promise chaining | create promise in javascript | javascript important concept, please give it a thumbs up.
If you'd like to see more videos like : why promise | what is promise chaining | create promise in javascript | javascript important concept, please comment and subscribe
Title: why promise | what is promise chaining | create promise in javascript | javascript important concept
Video: why promise | what is promise chaining | create promise in javascript | javascript important concept