Objects are not valid as a React child (found: [object Promise]). How to pass data to a function inside jsx?

前端 未结 0 485
再見小時候
再見小時候 2020-12-08 04:22

I am mapping through an array and displaying elements dynamically. By the time I want to call a function and to do an API call and to display the response along with the map

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