In React, is it a good/bad idea to pass text thru as a prop to the component?

前端 未结 0 1219
梦如初夏
梦如初夏 2020-12-30 06:59

For example, let\'s say you have a component that you\'re going to reuse many times in your app.

So you set it up to receive different/unique texts, multiple h2s and

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