diff --git a/src/core/instantiateReactComponent.js b/src/core/instantiateReactComponent.js index 69732ce2bb9..1348dbaf905 100644 --- a/src/core/instantiateReactComponent.js +++ b/src/core/instantiateReactComponent.js @@ -40,6 +40,7 @@ assign( function isInternalComponentType(type) { return ( typeof type === 'function' && + typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function' );