Salesforce Fact #69 | ES6 Spread Operator
In LWC, whenever we need to modify the array and render the same in UI, we need to use ES6 spread notation. Simple array.push() won't work.
Attached are the screenshots.
In LWC, whenever we need to modify the array and render the same in UI, we need to use ES6 spread notation. Simple array.push() won't work.
Attached are the screenshots.
Comments
Post a Comment