When using the syntax {this.firstName, this.lastName} = this.data;, destructuring does not work as expected.
{this.firstName, this.lastName} = this.data;
The value of this.data is:
{firstName: 'joe', lastName: 'smith'}
However, after assigning the value to this.firstName and this.lastName, they are still null.