MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / computeComputeProps

Function computeComputeProps

packages/xadmin/src/wrap.js:51–54  ·  view source on GitHub ↗
({ wrapContext, ...props })

Source from the content-addressed store, hash-verified

49 , {})
50
51 const computeComputeProps = ({ wrapContext, ...props }) =>
52 getMappers().reduce((prev, mapper) =>
53 _.isFunction(mapper.compute) ? { ...prev, ...mapper.compute(wrapContext, props, prev) } : prev
54 , {})
55
56 class Connect extends React.Component {
57

Callers 1

getDerivedStateFromPropsFunction · 0.85

Calls 2

getMappersFunction · 0.85
reduceMethod · 0.80

Tested by

no test coverage detected