const props = this.props; return <ProductPrice {...props} />
Make Your React Components Pretty 💅
Mark Brouch
81028

this can be written in single line.

[code]
return <ProductPrice {…this.props} />
[/code]

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.