MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / finalPropsSelectorFactory

Function finalPropsSelectorFactory

code/redux/public/app.js:19308–19325  ·  view source on GitHub ↗
(dispatch, _ref2)

Source from the content-addressed store, hash-verified

19306// object and shouldComponentUpdate will always return true.
19307
19308function finalPropsSelectorFactory(dispatch, _ref2) {
19309 var initMapStateToProps = _ref2.initMapStateToProps,
19310 initMapDispatchToProps = _ref2.initMapDispatchToProps,
19311 initMergeProps = _ref2.initMergeProps,
19312 options = _objectWithoutProperties(_ref2, ['initMapStateToProps', 'initMapDispatchToProps', 'initMergeProps']);
19313
19314 var mapStateToProps = initMapStateToProps(dispatch, options);
19315 var mapDispatchToProps = initMapDispatchToProps(dispatch, options);
19316 var mergeProps = initMergeProps(dispatch, options);
19317
19318 if (process.env.NODE_ENV !== 'production') {
19319 (0, _verifySubselectors2.default)(mapStateToProps, mapDispatchToProps, mergeProps, options.displayName);
19320 }
19321
19322 var selectorFactory = options.pure ? pureFinalPropsSelectorFactory : impureFinalPropsSelectorFactory;
19323
19324 return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
19325}
19326}).call(this,require('_process'))
19327
19328},{"./verifySubselectors":44,"_process":28}],44:[function(require,module,exports){

Callers

nothing calls this directly

Calls 1

_objectWithoutPropertiesFunction · 0.85

Tested by

no test coverage detected