agreed. I recently purchased another RU-vidr’s course and had to request a refund. it was terrible. this guy has actual teaching skills at half their age 😂
I was having so much trouble grasping the concept of promises & async/await until I came accross your perspective on it. Thank you ever so much for this detailed yet clear explanation!
I found your channel yesterday and is like you are in my shoes , you are answering every question i had in mind , this is a great channel , thanks a lot for explain these concepts , , i have watched most of your videos and i am learning a lot from you , thanks man ,, the React , Async JS, things to know in JS before you start react , thanks man , I appreciate 🙏🙌💪
You're an amazing guy. Whenever I have confusion about certain topics, you always clear it up for me. Please continue to upload videos about the React topic. Thank you, buddy.
This video combined with the video on javascript concepts to know before learning react has really finally helped understand the concepts that were getting me so stuck in javascript and were kind of scaring me away from it tbh. Thank you so much!
One thing to add might be that when returning something from an async function it will return a promise, which you can then resolve using .then/.catch/.finally
This is the best promises and async await video on youtube, as a beginner we should know the bare minimum at first but other youtubers start teaching call back hell nd other shits at the start.
PedroTech, thank you so much. I've come into contact with async and await many times in other languages without putting in the time to understand it. Consequently my experience with multithreading anything has been very terrible. Your video made it all click, thanks (:
I have been trying to understand this concept and how to code it. The best I have been able to do is find examples and copy them, but I don't understand them. This I understand. Thank you. Good luck with your schooling, and I hope you find a job.
Your code running with node to show the output on the terminal is great, because I was not able to practice with ease in the browser thankyou Pedro, you are young but you teach exact points of the topic not unnecessay stuff.
Thanks a lot Pedro. You kind of simplify programming concepts and moreso communicate it in a relatable manner. When I have difficulties digesting concepts, I kind of have you in my mind as my go-to resolver 😃😃😃. Glad I found you🙏..
The one thing i miss in this video, is that you did not show what asynchronous is. All the code below the promises would still run. Would have been nice if you showed that with a simple consolo.log which probably would run before the promise.
It is crazy, comming from desktop application on C# or as old as VB, the defualt behaviour was block de execution until a call is resolved and to deal with this and not freezing the UI, you nneded something like creating a new thread and trow the blocking task there. Now you need to ask the program to wait, otherwise it will behave as non blocking. Thanks for the vid.
Pedro, this was an amazing video, you really demystified this aspect that it has always been hard to remember and why you use async and await, you should be teaching college dude.
Fala Pedro! Cara vc sabe se tem como fazer um FORM com a opção de anexar arquivos pdf ou imagem e enviar os dados desse form por email sem back-end e banco de dados?