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

前端 未结 0 729
南旧
南旧 2021-02-11 15:45

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

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