Answer the question
In order to leave comments, you need to log in
Reactjs - rendering nested components?
Good afternoon. There is an array:
components = [
{
name: 'component1',
width: 100,
height: 100,
child: [
{
name: 'component11',
width: 100,
height: 100,
}
]
},{
name: 'component2',
width: 100,
height: 100,
child: [
{
name: 'component21',
width: 100,
height: 100,
}
]
},{
name: 'component3',
width: 100,
height: 100,
child: [
{
name: 'component31',
width: 100,
height: 100,
}
]
}
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question