LWC Bootcamp Day 13 | Fetch API | JS Debug Tips

Поділитися
Вставка
  • Опубліковано 17 жов 2024
  • 𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐓𝐫𝐚𝐜𝐤𝐞𝐫 - shorturl.at/iqGP2
    This Video Covers
    👉🏼Fetch API
    👉🏼 JS Debug
    API discussed in Video -
    👉 API to get Random Users - reqres.in/api/...
    👉 API to get CAT Images - api.thecatapi....
    👉 API for Exchange Rate - rest.coinapi.i...
    #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

КОМЕНТАРІ • 16

  • @BaluMahendra319
    @BaluMahendra319 8 місяців тому

    "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 Рік тому +1

    amazing session. Thank you Ankit🙏

  • @yashjain2363
    @yashjain2363 5 місяців тому

    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 5 місяців тому

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

    • @yashjain2363
      @yashjain2363 5 місяців тому

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

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  5 місяців тому

      Great

  • @anithaanu3608
    @anithaanu3608 2 місяці тому

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

  • @utkarshverma7614
    @utkarshverma7614 2 місяці тому

    Where in the code exactly should we put the 'debugger' keyword.?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  Місяць тому

      In any function on any line which will be executed as part of flow.
      Check LWC Debugging video on channel your doubt hopefully will be cleared

  • @janajyotirmay3392
    @janajyotirmay3392 8 місяців тому

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

  • @NareshKummara-uz9fk
    @NareshKummara-uz9fk 5 місяців тому

    can i cretae remote site are named credential for this?