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