-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Gettting the following error in IE11 when react-currency-formatter is used with react-hot-loader:
Object.getPrototypeOf: 'this' is not an Object.
It appears that, in IE11, if a non object value is passed into Object.getPrototypeOf('string') it throws an error.
This is used in react-hot-loader here:
function isReactClassInstance(Component) {
return Component && isReactClass({ prototype: Object.getPrototypeOf(Component) });
}
And as the <Currency /> component seems to return a plain string $1.00, and not markup <span>$1.00</span> it falls over.
Metadata
Metadata
Assignees
Labels
No labels