Build decoupled, componentized Redux apps with a single global store
BSD 3-Clause "New" or "Revised" License
312
stars
33
forks
source link
TypeError: Object doesn't support property or method 'startsWith' [redux-subspace] #110
Closed
TheHolyWaffle closed 5 years ago
Is it a bug, feature request or question?
Bug, exception is thrown in console when using Internet Explorer 11
Which package(s) does this involve?
redux-subspace
Expected Behavior
No exception is thrown.
Current Behavior
The following exception is thrown: TypeError: Object doesn't support property or method 'startsWith'
https://github.com/ioof-holdings/redux-subspace/blob/ac618ea7a6df5371930b6c38cf6a1e570701b39a/packages/redux-subspace/src/actions/isGlobal.js#L10
Possible Solution
Don't use String.prototype.startsWith in order to support older environments