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

Class Container

test/components/connect.spec.js:71–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 })
70
71 @connect(({ foo, baz }) => ({
72 testFetch: {
73 url: `/${foo}/${baz}`,
74 meta: {
75 test: 'voodoo'
76 }
77 },
78 errorFetch: '/error',
79 rejectFetch: '/reject',
80 testFunc: (arg1, arg2) => ({
81 deferredFetch: `/${foo}/${baz}/deferred/${arg1}/${arg2}`
82 })
83 }))
84 class Container extends Component {
85 render() {
86 return <Passthrough {...this.props} />
87 }
88 }
89
90 const container = TestUtils.renderIntoDocument(
91 <Container {...props} />

Callers

nothing calls this directly

Calls 2

connectFunction · 0.85
resolveMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…