Closed HaNdTriX closed 7 years ago
Thanks @HaNdTriX for taking a stab at this. I was contemplating doing the same today.
Many thanks @HaNdTriX ! It's probably the best way to solve this for now. I'll publish in a moment.
It's now there in 1.0.25
I'm testing and seeming to have issues with Object.assign. Do you have any suggestions on how to definitively test? I'm not seeing errors from find or includes.
To solve problems in IE 11 and make this lib easy to use we need to shim ES6 methods:
Object.assign
- polyfilled bynext.js
Array.find
- ponyfilled by this PRArray.includes
- ponyfilled by this PRI am not a big fan of this because I believe it is the job of preset-env to add such polyfills. Nevertheless right now it is pretty complex to configure it via
next.config.js
What do you think about this PR @fridays?
Status: ⚠️ Not tested