UNPKG

@gechiui/compose

Version:
15 lines (13 loc) 440 B
/** * External dependencies */ import { flowRight as compose } from 'lodash'; /** * Composes multiple higher-order components into a single higher-order component. Performs right-to-left function * composition, where each successive invocation is supplied the return value of the previous. * * This is just a re-export of `lodash`'s `flowRight` function. * * @see https://docs-lodash.com/v4/flow-right/ */ export default compose;