React useState hook update not rerendering child component?

前端 未结 0 1058
北海茫月
北海茫月 2021-01-14 10:50

I passed my setState function (setUsers) to an API(GetGroup) to set state(users) of current component, and pass the state(users) to a child component(Message). It seems that

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