.map not is not a function on empty object?

后端 未结 0 838
遥遥无期
遥遥无期 2021-01-07 01:20

I am new to react. I have set up a reducer with the state as an empty object. But when using the .map() function it doesn\'t seem to work on the object? Does the .map only w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题