Your videos are extremely well explained and contain quality content. However, your channel still doesn't have the number of views and followers it deserves to have. With this comment, first of all, I want to thank you for the knowledge you share with us and I also want to suggest an example of how to get more followers and viewers. I recommend that you create a bigger project, a realistic project that young developers face. May be divided into several small sections and unite to a playlist, or record it in its entirety for a couple of hours. An example project would be a CRUD application with ECMAScript 6+ standard. I hope that you will do something like that for your viewers. Have a nice day :)
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Eventually I will create full courses. It has been my intention for a long time to do that either on here or Udemy or SkillShare or BitDegree or some other place. I have been approached by several online schools to create courses. It's just a matter having the time. These videos I can do in a day as I have the time. Full courses take a long time to plan, develop, record and edit. I do these videos in my spare time on top of my full-time job.
@tedfitzpatrickyt5 жыл бұрын
A MERN-stack PWA using oAuth and deployed using Docker. Just cause I’m learning how to do this ;-) Thanks Steve
@mohamedkhodary78314 жыл бұрын
Your Channel is like gold mining Steve, thank you for this fantastic explanation and the pure content you delivered , keep it up.
@RajveerSingh-yb6zq3 жыл бұрын
Great. One Question though. In the End, Why data.code && data.code == 400 ???????
@RajveerSingh-yb6zq3 жыл бұрын
got it. First data.code check the code property availibity in the data obj.
@PIRAKAS6663 жыл бұрын
Great as always.
@mimishiba3 жыл бұрын
Wow that's a really neat way of error handling that no other channels have explained before! Definitely learned something valuable here. Thanks!
@giandomenicoriceputi62753 жыл бұрын
If want understand something I heve to follow your videos
@roshinimala37593 жыл бұрын
Thanks a lot Prof 😄Today I learnt something new
@iliashterev382 жыл бұрын
Greetings from Bulgaria. Thank you (perhaps 5ht time in different comments) for your time and efforts to put those so valuable tutorials. One question please, if you have time - what about the regular try catch blocks inside the async funct. Are they not applicable here or this is just more appropriate (or should I say professional) way of coding ??
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
You can use the standard .then() method with catch() or try catch with await or a combination. As long as you understand how the different ways work feel free to use any approach.
@olubisidavid78644 жыл бұрын
document.write("Thanks alot sir...these are awesome contents');
@carbonio143 жыл бұрын
I need to extract a price from an cryptocurrency exchange url address. Using a fetch request and getting a json response (crypto symbol and price) how can I take advantage using async/await? I need only the price data. thanks
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Using or not using async / await has zero impact on how you get to specific values in the data. With it, like I show in the video, you are passing the value back from the fetch().then().then( ) to a variable. Without it you just use the data inside the second then( ) function.
@MoDeadYT3 жыл бұрын
Thank you so so so so much!
@MoDeadYT3 жыл бұрын
Today is a great day! It is the first day I have ever clicked the notification bell. haha
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Thanks! :)
@se7en20213 жыл бұрын
Love your channel
@sabuein Жыл бұрын
Thank you.
@MrSalFav2 жыл бұрын
Thank you !! Really well explained and calm to watch and straight to the point. I watched alot of your vids and they are all really well made.
@quaternion-pi5 жыл бұрын
Fantastic content! (as always I learned new, useful techniques). Thanks for all your teaching.
@FranciscoJunior295 жыл бұрын
Another great class. Excellent job.
@ironmanlifts4 жыл бұрын
Thanks , await makes more sense now. What if you just wrap everything inside the async function with try {}catch{} ? Would that work the same as the handleErr function ?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
You can put a try catch block around it but I prefer to use the catch( ) method that comes with Promises.
@mahmoudmiz35314 жыл бұрын
Great explanation, thank you!
@iwswordpress5 жыл бұрын
Very good example, well explained.
@geraldmartinez38654 жыл бұрын
Thanks a lot Steve. Good tutorial
@dawidpomioto15954 жыл бұрын
What about using try catch block instead of crating handleErorr function?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
You can but then you are mixing the sync and async approaches. Just feels mismatched and inappropriate to me.
@tezzarida5 жыл бұрын
Thank you for the video! Can you please say which microphone do you use?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Blue yeti USB mic
@evilwarrior40954 жыл бұрын
why did you use two data.code inside if statement. im really new to this concept. please help me
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
The first one checks for the existence of a property called code inside the data object. The second checks for the value of that property. kzbin.info/www/bejne/hX27qqSrqrJja7M
@evilwarrior40954 жыл бұрын
Steve Griffith thank you very much sir . i was so consumed with this async stuff that i literally forgot and didn't pay attention to the basics 😅. im dumbfounded right now. thanks to your tutorial im on the clear now .
@RajveerSingh-yb6zq3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 that we could have avoided with data?.code instead of data.code right?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
@@RajveerSingh-yb6zq yes. But optional chaining still has limited support. It is still fairly new.
@TheRegalboss4 жыл бұрын
Excellent!
@maspoetry13 жыл бұрын
nice to see this channel getting big. i don't know a better teaching style
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
I appreciate that!
@chikaodili4 жыл бұрын
Thanks Steve! One question though; is it possible to return the data from function f in your example instead of logging it to console ? Trying to return "data" still returned a promised. Is there a way around this ?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
response.json() returns a promise. We can add the then( ) method to data to get at the actual data.
@chikaodili4 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Many thanks
@misterl81294 жыл бұрын
when we need to use asyn fetch vs a regular fetch??
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
You, as the developer, get to choose. They are two solutions that are equal and solve the same problem. What is your preference in coding...