I have defined two LWC's one is Reactive & other is non reactive .So NOn reactive component should not rerender its values ,But both the LWC's reredenring property values.Let me know what is the issue in my code Below is my code. 1html code:

    <table style="background: white;">
                Reactive Private property
                <lightning-input type="text" onchange={changeHandler1}></lightning-input>
                <b>value: {reactivePrivateProperty}</b>
                Non Reactive Private property
                <lightning-input type="text" onchange={changeHandler2}></lightning-input>
                <b>value: {nonReactivePrivateProperty}</b>


[2]JS code:

import { LightningElement,track} from 'lwc';

export default class PrivateComponent extends LightningElement {
    @track reactivePrivateProperty;

        this.reactivePrivateProperty= event.target.value;



[3] css code

table tr td{
    border:1px solid black;

[4] xml code:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="privateComponent">

[5]Image is attached : SFDC UI enter image description here

  • All the class attributes are track. track decorator used only for non primitive data type. May 25, 2020 at 7:57

1 Answer 1


All fields in a Lightning web component class are reactive from Spring ’20.
Refer here

  • Just Reconfirming So no more non reactive components
    – AM_SFDC
    May 26, 2020 at 7:23
  • yes, for primitive data types (String, Number, and Boolean). However, for Composite data types like Array, the elements are reactive only if @track is used.
    – ssoundiran
    May 26, 2020 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.