@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.
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
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?
@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.
Thank you for making this very informative video. Please make more videos on LWC
Your LWC series are very useful.
Thank you :)
You deserve my sub.
Thank you so much
Thank you for explaining it in easiest way.
What a smooth way to explain things. Thanks it was usefull
Thanks @jayantah, I am glad you found it useful !
I really liked your explanation ,,u just keep it simple
Thank you :)
So clear to me 🙌
very well explained thanks
Thank you for video!
Nicely explained
value of non-reactive also changes when the value of reactive property changes?
After spring 2020 release, all properties are reactive
Thank you for your effort. But did you see the non reactive property got updated onclick of the button (11:09)?
@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.
@@SALESFORCEPREDATOR Thank you for the reply. Keep up the good work. :)
Thank you for making this very informative video
Please make more videos on LWC
Please make more videos on LWC
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
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?
Right @mourya.
Hi,
for me, non reactive property value is updated when I click on the button.
After spring 2020 release, all properties are reactive only.
I am performing the same thing ... but for a non-reactive property it going to rerender. Is this is right or wrong?
Hi Pravin
In one of Salesforce release, they have made changes. All the properties are reactive now.
I believe due to newer release, the parent component will no longer allow you to pass an attribute that is not decorated with api
Hi, nice video. Do you think we can decorate a child js method with @api ?
sir i have tried to change the non reactive, it is changing
Now all properties are reactive. This video was recorded when only track and api properties were reactive.
Hi, you didn't explained @wire decorator?
Hi Tejal, I have explained it in following video : czcams.com/video/DeLkHw7iEbg/video.html
apiParam means what ?? please answer this .
@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.