Closed towry closed 4 years ago
You have to assign a value(other than undefined) to the property, otherwise the property wont be reactive.
// bad name?: string; // good name: string = "";
You have to assign a value(other than undefined) to the property, otherwise the property wont be reactive.