Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

v0.6.0

Compare
Choose a tag to compare
@acdlite acdlite released this 26 Oct 22:04
· 561 commits to master since this release

Static helpers

New helper called setStatic() adds a static property to the base component. Also added setDisplayName() and setPropTypes() helpers. These static helpers are curried and component-last, so they can be composed with higher-order component helpers; however, unlike higher-order component helpers, they mutate the base component instead of returning a new one.

Renamed mapPropsOnUpdate() -> mapPropsOnChange()

The old name incorrectly implied that the helper used shouldComponentUpdate().