Best explanation of promises ever, finally catching a grasp of it
No way, you managed to explain this so quickly with such a good explanation. You truly understood the concept.
Countless articles read, attempts to script it, months of frustration and finally you manage to explain what this does in one minute.
Man, I cannot thank you enough for this, promises are something that I’ve been introduced to a month ago and I never was able to totally understand what it was about, I’ll definitely go watch your full episode !
Love this! As a relative beginner this minute of content helped more than the course im taking and the 15 or so videos I've watched. Thank you!
Holy crap after all the videos and stuff this explanation helped me the most THANK YOU just subscribed
that take for resolve reject as then and catch, i never thought of that when learning promise since they all use resolve and reject. could've understood it faster if they did it as then and catch in teaching materials/videos/documentations
i got a better understanding of promises in the first 20 seconds of this video than i ever have out of every other video i've watched on promises.
Concise and to the point. You made it so easy for me to get it. Thank you!
You 're amazing that you can give an explanation of promises in just 1 minute🙏🙏🙏, thanks Sir
Started learning promises yesterday so this video is a blessing. Can't wait to watch your full length video soon. Your videos are the highest quality and most fun code tutorials I've found on YouTube!
A function does not always return a value, even implicitly undefined. A function might only throw an error, in which case it will never return. In TypeScript, this can be represented as the “never” type
Calling resolve and reject as then and catch feels like it would make learning about promises a lot easier. And I say this as I work on the monster I created some time ago that is a recursive async and promises stack used to fetch info from different apis and merge them together to start new requests, with some apis being limited to 10 records at a time while I need them all (about 40)…
Careful, because of javascript's single threaded nature, any hard waits will still block the thread. For example, try putting a sleep() call in the promise
Personal experience, 90% of the time promises end up fucking bloating your code base and making it super unreadable Async await is genuinely the best way 3/4 of the time, specially when dealing with API calls or DB queries
Loved this. Pls make more. Better to watch this than all the crap on yt
I dont even code in js that much but this is probs the most clear explanation of thr concept of Promises you can ask for
I’ve been struggling with async for days, but when he said that a Promise takes two parameters, “then” and “catch”, but that they’re called “resolve” and “reject” I was like OH SHIT! Now it makes so much more sense
This explained more in 60 seconds than my last 60 minutes of YouTube
@ChristyMedia-b4x