redux-action-buffer icon indicating copy to clipboard operation
redux-action-buffer copied to clipboard

Object doesn't support property or method 'includes' in IE

Open rafatwork opened this issue 6 years ago • 0 comments

My application stopped running in IE when trying to implement this middleware.

Appears it uses the includes() method, which is not supported in IE: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes

Users needing to support IE should be polyfilling this. FYI: for create-react-app users, a "import 'core-js/es7/array';" in your index.js should suffice as well.

Just leaving it here, unsure if this is something that should be fixed in the module or at least documented somewhere.

rafatwork avatar Feb 13 '18 14:02 rafatwork