As someone new to TypeScript, I find myself facing a challenge. I have a wrapper component and multiple child components that need to be displayed.
In my parent component's HTML, I can successfully display a single component like this:
<component-card [someData]=someData></component-card>
. But how can I display a list of these components?
Simply using
<li *ngFor="let card of componentCardArray"></li>
doesn't seem to work for me. I've tried various approaches without success.
While most tutorials cover basic typescript concepts, I have spent hours searching for a solution to this specific issue with no luck.