Wire Vs Imperative in LWC || Lightning web components Interview questions

Поділитися
Вставка
  • Опубліковано 31 тра 2023
  • In this video we have tried to cover when we should use Imperative vs when we should use wire service.
    This video contains live practical code demo as well.

КОМЕНТАРІ • 21

  • @vindhyasravan8256
    @vindhyasravan8256 11 місяців тому

    Thank so very much sir, thanks is not just enough for your support.

  • @chetansheshkar
    @chetansheshkar 7 місяців тому

    Excellent work 👍

  • @vamshikrishna8143
    @vamshikrishna8143 11 місяців тому

    Excellent resource

  • @akashchaudhari27
    @akashchaudhari27 Рік тому

    Thanks Mohit its very helpful👍

  • @skp6753
    @skp6753 11 місяців тому

    Gem!

  • @ranjithshastry9961
    @ranjithshastry9961 Рік тому +2

    Hi Mohit can you please explain the difference between event.target.value and event.detail.value .

    • @BalajiBalaji-jv1gt
      @BalajiBalaji-jv1gt 4 місяці тому

      event.target.value and event.detail.value both are using when we are getting the values from elements or input values of html and using those elements to perform the actions in js.

  • @balajibasanolla
    @balajibasanolla Рік тому

    38:27---->Line number 18
    console.log('---------------'+this.accounts) i think this we need to write for that error
    error:constructor accounts is not define

  • @simranacro11
    @simranacro11 Рік тому

    Hi Mohit, In the video you mentioned about LDS. But I am not able to find that video.

    • @Mtripathi347
      @Mtripathi347  Рік тому

      Hi Simran, these videos are part of our interview preparation course, i covered LDS today, i will surely try to upload those on utube shortly

  • @ranjithshastry9961
    @ranjithshastry9961 Рік тому

    HI Mohit I got a interview question where they asked why we use cashable = true and what is the purpose/function of that ? how to answer this and what all important points will be the interviewer expecting to be mentioned

    • @Krushna1313
      @Krushna1313 7 місяців тому

      To increase runtime performance of component we used cachable=true

    • @BalajiBalaji-jv1gt
      @BalajiBalaji-jv1gt 4 місяці тому

      @auraenabled (cacheable=true) is using for get the sever side data and store in cache memory for quick action in client side java script but using this we can not perform the dml operations Mani fiction of that is getting data from salesforce or server side data base to get the the data and it will not return any thung to the server.

  • @simranacro11
    @simranacro11 Рік тому

    Hi Mohit, I appeared for an interview today and I was asked that can we call batch class from flows? In the other video you mentioned that we cannot call future directly from flows, we have to call @invocablemethod and then we can call future from there. Can you please let me know what is the case with batch class. Thanks in advance !

    • @Mtripathi347
      @Mtripathi347  Рік тому +1

      call the invocable apex from flow and inside invocable apex, create an instance of ur batch and call that.

    • @simranacro11
      @simranacro11 Рік тому

      @@Mtripathi347 Thanks for the response !

  • @SFDCWEB
    @SFDCWEB Рік тому

    What Is name of this IDE?

    • @Mtripathi347
      @Mtripathi347  Рік тому +1

      this is just a chrome extension, named lightning studio, VS code is still the recommended way. I am using is just for simplicity purpose.