How do I fetch data in React parent Function Component first with a child Class Component?

前端 未结 0 1942
暖寄归人
暖寄归人 2021-01-26 13:26

From the React Hooks FAQs, I noticed,

We don’t recommend rewriting your existing classes to Hooks unless you planned to rewrite them anyway (e.g. to fix bugs

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