Calling multiple hooks directly in child components or passing via prop?

后端 未结 0 1803
灰色年华
灰色年华 2020-12-16 12:12

Since hooks were introduced, wondering if what is your preferred way of calling multiple hooks in a component?

Scenario 1:

const Parent = () => {
           


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