LWC Bootcamp Day 13 | Fetch API | JS Debug Tips

Sdílet
Vložit
  • čas přidán 16. 08. 2023
  • 𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐓𝐫𝐚𝐜𝐤𝐞𝐫 - shorturl.at/iqGP2
    This Video Covers
    👉🏼Fetch API
    👉🏼 JS Debug
    API discussed in Video -
    👉 API to get Random Users - reqres.in/api/users
    👉 API to get CAT Images - api.thecatapi.com/v1/images/s...
    👉 API for Exchange Rate - rest.coinapi.io/v1/exchangera...
    #fetchapi #debugtips #import #export #settimeout #setinterval #customevents #collections #map #salesforce #lightning #development #lwc #jsoverview #lighting #salesforcelighting #salesforcetraining #lwcbasics #lwcadvanced #salesforcedeveloper #developer #ankitjain #techjourneywithankit #studysalesforce #lwc #aura #lightningwebcomponent #ankitjain #lwcbootcamp #arrowfunction #callbackfunction

Komentáře • 12

  • @BaluMahendra319
    @BaluMahendra319 Před 5 měsíci

    "Thank you so much Ankit, this tutorial was incredibly helpful! I've been struggling to grasp the intricacies of the Fetch API, but your explanation made it much clearer. Also, those JavaScript debugging tips were a game-changer for me. I never realized how powerful console.log() could be when used strategically. Thanks a ton for sharing your expertise!"

  • @GayathriRadhakrishnan-xl3hn
    @GayathriRadhakrishnan-xl3hn Před 9 měsíci

    amazing session. Thank you Ankit🙏

  • @janajyotirmay3392
    @janajyotirmay3392 Před 5 měsíci

    Sir, I think you have missed covering some array methods - some, every, reduce?

  • @NareshKummara-uz9fk
    @NareshKummara-uz9fk Před 3 měsíci

    can i cretae remote site are named credential for this?

  • @yashjain2363
    @yashjain2363 Před 2 měsíci

    Hi Ankit
    In the second Integration I tried to set Time interval so that page gets refreshed at a particular time interval so that it continuously generate images. I am getting an exception:
    Uncaught SyntaxError: missing ] after element list9 script.js:11:9note: [ opened at line 11, column 1
    can you suggest what is the issue here?

    • @yashjain2363
      @yashjain2363 Před 2 měsíci

      I used below line of code to set interval
      setInterval(randomCatImages(),1000);

    • @yashjain2363
      @yashjain2363 Před 2 měsíci

      Issue is resolved by using
      I have wrapped callback fx using arrow fx:
      setInterval(()=>randomCatImages(),1000);

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  Před 2 měsíci

      Great