MCPcopy Create free account
hub / github.com/kenberkeley/react-demo / createContainer

Function createContainer

src/utils/createContainer.js:10–13  ·  view source on GitHub ↗
(mapStateToProps, mapActionCreators, component)

Source from the content-addressed store, hash-verified

8 * @return {Connect : Container}
9 */
10export default function createContainer(mapStateToProps, mapActionCreators, component) {
11 const connectComponent = connect(mapStateToProps, mapActionCreators)
12 return component ? connectComponent(component) : connectComponent
13}

Callers 2

getComponentFunction · 0.85
msg.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected