ReactJS: Why use this.props.children?

前端 未结 4 567
执笔经年
执笔经年 2021-01-01 16:11

I\'ve realised that none of the components I write use {this.props.children}.

I tend to compose my components the way the official docs state at the top

4条回答
提交回复
热议问题