title: React - component will not render in foreach loop?
body: <p>I have a small application when you open a tab the React Route redirects to the given component (container). And from the container i want to render the child components. I use the foreach loop to go through a list that has the props that need to be given to the child. However, the child doesn't get rendered.</p>
  
  <p>I don't want to use map because i use libraries that depend on the list class.</p>
  
  <pre><code>render() {   
      return ( 
          &lt;div&gt;
              {this.state.list.ForEach((element) =&gt; 
                  &lt;ChildComponent childName={element.name} 
          }
          &lt;/div&gt; 
      );
  }
  </code></pre>
  
  <p>}           </p>