I would like an Entity to spawn for each item added dynamically in the array.
Is it possible to do like this? How would I attribute the value of each item to each Entity ?
this.state = {
items: []
}
then in the render :
<Scene>
{this.state.items.map((item, key) => {
return (
<Entity />
)
}
)}
</Scene>