dillon1000/react

Commit

Avoid leading spaces when first argument to joinClasses is falsy.

This detail is going to become more important once the idiom
`className={joinClasses(this.props.className, newClass)}` becomes more
common, as it will when we move away from `this.transferPropsTo`.
Browse files
Changed paths1 file
First-parent comparison
M src/utils/joinClasses.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…