Update functional component when new data pushed to array

后端 未结 0 1539
庸人自扰
庸人自扰 2021-02-14 00:45

I have a functional react component:

function Messages() {
    return(
         data.messages.map(function(obj, i){return(
            
相关标签:
回答
  • 消灭零回复
提交回复
热议问题