rendering an array inside an array in react

Solutions on MaxInterview for rendering an array inside an array in react by the best coders in the world

showing results for - "rendering an array inside an array in react"
Fernando
08 Jul 2018
1 list.map((item, index) => {
2            return (
3              <div key={index}>
4                <ul >{item.value}</ul>
5               {
6                item.list.map((subitem, i) => {
7                  return (
8                     <ul ><li>{subitem.value}</li></ul>
9                  )
10                })
11               }
12              </div>
13            )
14          }
15