So I have a unique situation,
in my States I don't have a regular list that I can do map and then in each iteration to display a component, for example:
list.map(shape => <Shape {...shape} />) But I have an Hash Map. I need to know the key and the value so I'll have the necessary information to display it as component. So I found a nice method: entries() that returns an Iterator, but how could I iterate it in a way that I could display new components inline?
Something like that in pseudo code:
myHashMap.entries().toList().map((key, value) => <MyComponent myKey={key} myValue={value} />)