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

Class WithProps

test/components/connect.spec.js:399–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397
398 const valueSpy = expect.createSpy(() => ({}))
399 @connect(({ foo }) => ({
400 testFetch: {
401 value: () => { valueSpy() },
402 comparison: foo.FOO
403 }
404 }))
405 class WithProps extends Component {
406 render() {
407 return render(this.props)
408 }
409 }
410
411 class OuterComponent extends Component {
412 constructor() {

Callers

nothing calls this directly

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…