Parent state changed by child does not trigger re-render of parent

前端 未结 0 1576
青春惊慌失措
青春惊慌失措 2020-12-10 07:44

I have a pair of react components that resembles the following

const Child = (props) => {
  const { setState } = props;
  return 
相关标签:
回答
  • 消灭零回复
提交回复
热议问题