The docs describe using the intersection observer polyfill in order to support older browsers like IE, but they don't describe additional requirements to polyfill functions like Array.prototype.includes and Array.prototype.findIndex.
It'd be great if usage of those functions could be avoided or, at the very least, have their usage documented so that any poor souls supporting IE know what to polyfill.
If anyone else runs into this, if you're not auto-polyfilling using babel-preset-env then the following is sufficient as of v1.0.0-rc.2:
This is a huge problem for us as IE is one of our most used browsers (I know, I wish it wasn't so). It would be great if this was fixed so we could actually use this dependency in our project.
The docs describe using the intersection observer polyfill in order to support older browsers like IE, but they don't describe additional requirements to polyfill functions like
Array.prototype.includes
andArray.prototype.findIndex
.It'd be great if usage of those functions could be avoided or, at the very least, have their usage documented so that any poor souls supporting IE know what to polyfill.
If anyone else runs into this, if you're not auto-polyfilling using
babel-preset-env
then the following is sufficient as ofv1.0.0-rc.2
: