Lightning Web Components - Decorators and Properties in LWC | @track| @api| @wire decorators

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 37

  • @chithraprakash8392
    @chithraprakash8392 Před rokem +1

    Thank you for making this very informative video. Please make more videos on LWC

  • @sheebaramola2690
    @sheebaramola2690 Před 2 lety +4

    Your LWC series are very useful.

  • @kunalsinghgusain2070
    @kunalsinghgusain2070 Před 3 lety +2

    You deserve my sub.

  • @8DROYALBOLLYWOOD
    @8DROYALBOLLYWOOD Před 4 lety +2

    Thank you so much

  • @bomanbomre1461
    @bomanbomre1461 Před 3 lety +1

    Thank you for explaining it in easiest way.

  • @jayanthb58
    @jayanthb58 Před 4 lety +1

    What a smooth way to explain things. Thanks it was usefull

  • @shashis9131
    @shashis9131 Před 4 lety +1

    I really liked your explanation ,,u just keep it simple

  • @ParentFor07Cats
    @ParentFor07Cats Před 2 lety +1

    So clear to me 🙌

  • @dskanda_yt
    @dskanda_yt Před 2 lety

    very well explained thanks

  • @ShadowOfLaw
    @ShadowOfLaw Před 4 lety

    Thank you for video!

  • @amitandhale1986
    @amitandhale1986 Před 4 lety

    Nicely explained

  • @DeveshWarhade
    @DeveshWarhade Před rokem +1

    value of non-reactive also changes when the value of reactive property changes?

  • @GuyBunchaoVibes
    @GuyBunchaoVibes Před 4 lety +3

    Thank you for your effort. But did you see the non reactive property got updated onclick of the button (11:09)?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  Před 4 lety +5

      @chandan. Yes . That is because , we changed the value of reactive property and due to this the component re-renders and takes the new value of properties,be it reactive or non reactive.
      If you would have changed non-reactive property, than it would not have changed the value on html as no re-render will take place.

    • @GuyBunchaoVibes
      @GuyBunchaoVibes Před 4 lety

      @@SALESFORCEPREDATOR Thank you for the reply. Keep up the good work. :)

    • @chithraprakash8392
      @chithraprakash8392 Před 3 lety

      Thank you for making this very informative video

    • @chithraprakash8392
      @chithraprakash8392 Před 3 lety

      Please make more videos on LWC

    • @chithraprakash8392
      @chithraprakash8392 Před rokem

      Please make more videos on LWC

  • @balubalu438
    @balubalu438 Před rokem

    i have one doubt when ever comment reactive properties the value of non reactive propertie value not changed but un comment reactive properties and after deploye click button the non reactive propertie value changed why

  • @mourya07megadarra08
    @mourya07megadarra08 Před 4 lety +1

    Hey @SalesforcePredator, I guess from Spring'2020 release there is no concept of non-reactive properties. I.e from Feb - 17 - 2020, Could you please confirm that?

  • @an00b45
    @an00b45 Před 2 lety +1

    Hi,
    for me, non reactive property value is updated when I click on the button.

  • @pravinkhandare5064
    @pravinkhandare5064 Před 3 lety +1

    I am performing the same thing ... but for a non-reactive property it going to rerender. Is this is right or wrong?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  Před 3 lety +1

      Hi Pravin
      In one of Salesforce release, they have made changes. All the properties are reactive now.

  • @samata0123
    @samata0123 Před rokem

    I believe due to newer release, the parent component will no longer allow you to pass an attribute that is not decorated with api

  • @nikhilsomvanshi9960
    @nikhilsomvanshi9960 Před 4 lety +1

    Hi, nice video. Do you think we can decorate a child js method with @api ?

  • @ashishshrivastav4911
    @ashishshrivastav4911 Před 2 lety +1

    sir i have tried to change the non reactive, it is changing

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  Před rokem

      Now all properties are reactive. This video was recorded when only track and api properties were reactive.

  • @tejalmehta3891
    @tejalmehta3891 Před 4 lety

    Hi, you didn't explained @wire decorator?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  Před 4 lety +1

      Hi Tejal, I have explained it in following video : czcams.com/video/DeLkHw7iEbg/video.html

  • @685destiny
    @685destiny Před 4 lety

    apiParam means what ?? please answer this .

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  Před 4 lety

      @Shradha apiParam is just a javascript property. I have given this name for better correlation with @Api decorators . You can give anything as property name.