MCPcopy
hub / github.com/heroku/react-refetch / makeContainer

Function makeContainer

test/components/connect.spec.js:1641–1651  ·  view source on GitHub ↗
(mapPropsToRequestsToProps)

Source from the content-addressed store, hash-verified

1639
1640 it('should throw an error if mapPropsToRequestsToProps returns anything but a plain object', () => {
1641 function makeContainer(mapPropsToRequestsToProps) {
1642 return React.createElement(
1643 connect(mapPropsToRequestsToProps)(
1644 class Container extends Component {
1645 render() {
1646 return <Passthrough />
1647 }
1648 }
1649 )
1650 )
1651 }
1652
1653 function AwesomeMap() { }
1654

Callers 1

connect.spec.jsFile · 0.85

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…