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

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 37

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

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

  • @sheebaramola2690
    @sheebaramola2690 2 роки тому +4

    Your LWC series are very useful.

  • @8DROYALBOLLYWOOD
    @8DROYALBOLLYWOOD 4 роки тому +2

    Thank you so much

  • @dskanda_yt
    @dskanda_yt 3 роки тому

    very well explained thanks

  • @bomanbomre1461
    @bomanbomre1461 3 роки тому +1

    Thank you for explaining it in easiest way.

  • @jayanthb58
    @jayanthb58 4 роки тому +1

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

  • @kunalsinghgusain2070
    @kunalsinghgusain2070 3 роки тому +2

    You deserve my sub.

  • @shashis9131
    @shashis9131 4 роки тому +1

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

  • @amitandhale1986
    @amitandhale1986 4 роки тому

    Nicely explained

  • @ShadowOfLaw
    @ShadowOfLaw 4 роки тому

    Thank you for video!

  • @ParentFor07Cats
    @ParentFor07Cats 2 роки тому +1

    So clear to me 🙌

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

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

  • @GuyBunchaoVibes
    @GuyBunchaoVibes 4 роки тому +3

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

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  4 роки тому +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 4 роки тому

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

    • @chithraprakash8392
      @chithraprakash8392 3 роки тому

      Thank you for making this very informative video

    • @chithraprakash8392
      @chithraprakash8392 3 роки тому

      Please make more videos on LWC

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

      Please make more videos on LWC

  • @nikhilsomvanshi9960
    @nikhilsomvanshi9960 4 роки тому +1

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

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

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

  • @mourya07megadarra08
    @mourya07megadarra08 4 роки тому +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?

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

    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

  • @pravinkhandare5064
    @pravinkhandare5064 3 роки тому +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  3 роки тому +1

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

  • @an00b45
    @an00b45 2 роки тому +1

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

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  2 роки тому +1

      After spring 2020 release, all properties are reactive only.

  • @tejalmehta3891
    @tejalmehta3891 4 роки тому

    Hi, you didn't explained @wire decorator?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  4 роки тому +1

      Hi Tejal, I have explained it in following video : ua-cam.com/video/DeLkHw7iEbg/v-deo.html

  • @685destiny
    @685destiny 4 роки тому

    apiParam means what ?? please answer this .

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  4 роки тому

      @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.

  • @ashishshrivastav4911
    @ashishshrivastav4911 2 роки тому +1

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

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  2 роки тому

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