What's the difference between a React.FunctionComponent and a plain JS function component?

前端 未结 0 444
离开以前
离开以前 2021-02-11 15:31

These two examples accomplish the same thing. But what are the differences under the hood? I understand functional components vs. React.Component and React.PureComponent, but I

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