Rematch: IE11 error - Object doesn't support property or method 'includes'

Created on 8 May 2018  路  2Comments  路  Source: rematch/rematch

IE11 error - Object doesn't support property or method 'includes'

In rematch.prod.min.js line 53
var T=r(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.includes("/")}})

This breaks IE11.

Since IE11 is still a requirement especially in the enterprise space it would be great if you could fix this.

I guess there is some babel or polyfill magic to fix it.

wontfix

Most helpful comment

Currently using the TS compiler set to ES5, I'll look into ensuring it has proper polyfills. IE11 is not unreasonable.

In the meantime, polyfill.io has may have a quick fix: https://polyfill.io/v2/docs/features/.

All 2 comments

Currently using the TS compiler set to ES5, I'll look into ensuring it has proper polyfills. IE11 is not unreasonable.

In the meantime, polyfill.io has may have a quick fix: https://polyfill.io/v2/docs/features/.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

canyavall picture canyavall  路  6Comments

gpolonus picture gpolonus  路  3Comments

alexicum picture alexicum  路  5Comments

linonetwo picture linonetwo  路  5Comments

777PolarFox777 picture 777PolarFox777  路  3Comments