there's a regex comparison with the error message, but it assumes the language of the error is English.
Trying to use the library in IE11, in the event of "out of stack", the error is not captured.
For instance, in a Finnish version of IE11, the message is "Pinotila ei riitä" as seen in the attachment.
One possible fix is to replace the aforementioned line with
In https://github.com/FormidableLabs/react-fast-compare/blob/2aafd69a5022ee196b33ae0b06f2ed5bc0a1dfa4/index.js#L75
there's a regex comparison with the error message, but it assumes the language of the error is English. Trying to use the library in IE11, in the event of "out of stack", the error is not captured.
For instance, in a Finnish version of IE11, the message is "Pinotila ei riitä" as seen in the attachment.
One possible fix is to replace the aforementioned line with
since IE error number for "out of stack" is language-independent.