Is it good practice to create a React component just to holds props?

后端 未结 0 1707
暖寄归人
暖寄归人 2020-12-05 14:59

Is it considered a good idea to simply have a Component in React that renders nothing and performs no logic, but rather just behaves as a "container" for its props

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