Answer the question
In order to leave comments, you need to log in
Walk through an object in React?
Good afternoon! Please tell me how it is better to walk through the object in react and display the data (as in the array)?
It’s just that a different object can come ...
I don’t want to use cycles in the component, output separately through Object.keys(obj)
and Object.values(obj)
somehow not very ...
Such a record through lodash does not work for some reason
{_mapKeys(values, (val, name) => (
<BlockItemComp
name={name}
val={val}
/>
))}
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