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

Consider switching chai to invariant #9

Closed jatwork closed 7 years ago

jatwork commented 7 years ago

Hi,

I'm in the process reviewing the bundle size of our web app and I found that redux-idle-monitor is taking chai as a dependency. Wouldn't it be better if we switch to a more lightweight, production-ready package like invariant? What do you think?

I could help a PR to switch it over.

Thanks

cchamberlain commented 7 years ago

Thanks for the issue! I've started using invariant on other packages and would happily accept a PR that swaps it out.