(props, options)
| 10 | export default class NetworkComponent extends Component { |
| 11 | |
| 12 | constructor (props, options) { |
| 13 | super(props, options); |
| 14 | |
| 15 | this.options = { |
| 16 | ...defaultOptions, |
| 17 | ...options |
| 18 | }; |
| 19 | this.handleState = this.handleState.bind(this); |
| 20 | } |
| 21 | |
| 22 | get _fetchFunc () { |
| 23 | return this[this.options.fetchFunc]; |
nothing calls this directly
no outgoing calls
no test coverage detected