(publicInstance, callerName)
| 613 | return "function" === typeof maybeIterable ? maybeIterable : null; |
| 614 | } |
| 615 | function warnNoop(publicInstance, callerName) { |
| 616 | publicInstance = |
| 617 | ((publicInstance = publicInstance.constructor) && |
| 618 | (publicInstance.displayName || publicInstance.name)) || |
| 619 | "ReactClass"; |
| 620 | var warningKey = publicInstance + "." + callerName; |
| 621 | didWarnStateUpdateForUnmountedComponent[warningKey] || |
| 622 | (console.error( |
| 623 | "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", |
| 624 | callerName, |
| 625 | publicInstance |
| 626 | ), |
| 627 | (didWarnStateUpdateForUnmountedComponent[warningKey] = !0)); |
| 628 | } |
| 629 | function Component(props, context, updater) { |
| 630 | this.props = props; |
| 631 | this.context = context; |
no outgoing calls
no test coverage detected
searching dependent graphs…