29
rated 0 times
[
31]
[
2]
/ answers: 1 / hits: 114040
/ 8 Years ago, thu, february 4, 2016, 12:00:00
I am getting a dictionary from an online api in the form of {{key: object}, {key: object},... For like 1000 Objects}. I would like to use reactJS to do something like
this.props.dict.map(function(object, key)){
//Do stuff
}
This map works with arrays but it obviously doesn't work with dictionaries. How can I achieve something similar?
More From » reactjs