noderaider / redux-idle-monitor

A Redux component to schedule events at stages of user idleness across multiple browser tabs.
https://noderaider.github.io/redux-idle-monitor/
MIT License
105 stars 9 forks source link

Object doesn't support property or method 'save', 'load', 'remove' on IE11 #23

Open ghost opened 6 years ago

ghost commented 6 years ago

webpack:///node_modules/localsync/lib/cookiesync.js.

Installed yesterday and i'm getting these three errors on IE11. Works fine in latest version of Chrome and Mozilla. I currently am on 0.9.1 version of redux-idle-monitor, and 1.6.2 of localsync. I also have babelpolyfill.js

Am i missing some polyfill or something?

Cheers

cchamberlain commented 6 years ago

This was an unintended regression when I upgraded the libs to TypeScript. I'll get the polyfills baked into the libraries tomorrow and publish a new version.

Sorry for the inconvenience.

martapower commented 6 years ago

Hi @cchamberlain, is this issue still open? Thanks

cchamberlain commented 6 years ago

Yes, I unfortunately have had a busy couple months.

I believe this issue only occurs if your app does not include an ES polyfill for older browsers. I will try to get to this in the next couple weeks but please shoot feedback here if you replicate it.

On Wed, Apr 18, 2018, 12:38 AM Marta Moreno notifications@github.com wrote:

Hi @cchamberlain https://github.com/cchamberlain, is this issue still open? Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/noderaider/redux-idle-monitor/issues/23#issuecomment-382293529, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ69q9AAVC1L4LDR_lCMu_A4XMs3uwDks5tpu12gaJpZM4QpKbd .

martapower commented 6 years ago

All right, thanks a lot!

ghost commented 6 years ago

I got it working adding 'es3ify-webpack-plugin' to my webpack config.

Hope it helps.