React Pass component as props and re render child

后端 未结 0 1973
無奈伤痛
無奈伤痛 2020-12-13 14:56

I have this code being in a component. When I update state for this.state.userName, Header is supposed to re-render, and it does. Inside Header, HeaderLinks is returned. How

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