@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.
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?
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
@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 :)
Thank you so much
very well explained thanks
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 !
You deserve my sub.
I really liked your explanation ,,u just keep it simple
Thank you :)
Nicely explained
Thank you for video!
So clear to me 🙌
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
Hi, nice video. Do you think we can decorate a child js method with @api ?
I believe due to newer release, the parent component will no longer allow you to pass an attribute that is not decorated with api
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.
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
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.
Hi,
for me, non reactive property value is updated when I click on the button.
After spring 2020 release, all properties are reactive only.
Hi, you didn't explained @wire decorator?
Hi Tejal, I have explained it in following video : ua-cam.com/video/DeLkHw7iEbg/v-deo.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.
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.