How to have nested loops with map in JSX?

Posted by Editorial Staff | Updated on | Reactjs

Want to have nested loops with map in JSX? You need to wrap it inside an element. Something like this (I’ve added an extra tr due to the rules of tables elements):


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers