We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gettting the following error in IE11 when react-currency-formatter is used with react-hot-loader:
react-currency-formatter
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.
Object.getPrototypeOf('string')
This is used in react-hot-loader here:
react-hot-loader
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.
<Currency />
$1.00
<span>$1.00</span>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Gettting the following error in IE11 when
react-currency-formatter
is used with react-hot-loader: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:And as the
<Currency />
component seems to return a plain string$1.00
, and not markup<span>$1.00</span>
it falls over.The text was updated successfully, but these errors were encountered: