I understand how (and why) to add a whitespace in JSX, but I am wondering what\'s best practice or if any makes any real difference?
Wrap both elements in a
You don't need to insert or wrap your extra-space with . Just use HTML entity code for space -
Insert regular space as HTML-entity
Full name: {this.props.fullName} 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复