LWC Bootcamp Day 13 | Fetch API | JS Debug Tips

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ส.ค. 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

ความคิดเห็น • 14

  • @anithaanu3608
    @anithaanu3608 12 วันที่ผ่านมา

    Hi Ankit Sir, your way of explanation is very clear. Could you please make videos on CPQ as well?

  • @GayathriRadhakrishnan-xl3hn
    @GayathriRadhakrishnan-xl3hn 10 หลายเดือนก่อน +1

    amazing session. Thank you Ankit🙏

  • @BaluMahendra319
    @BaluMahendra319 5 หลายเดือนก่อน

    "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!"

  • @yashjain2363
    @yashjain2363 3 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

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

    • @yashjain2363
      @yashjain2363 3 หลายเดือนก่อน

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

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  3 หลายเดือนก่อน

      Great

  • @NareshKummara-uz9fk
    @NareshKummara-uz9fk 3 หลายเดือนก่อน

    can i cretae remote site are named credential for this?

  • @janajyotirmay3392
    @janajyotirmay3392 5 หลายเดือนก่อน

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