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

Fix/switch chai to invariant #10

Closed tomchentw closed 7 years ago

tomchentw commented 7 years ago

Hi @cchamberlain,

I'm having the same issue as #9 and I think that's something I can help with. Would you review this PR and test it locally to see if it's working fine? I basically just switch from chai to invariant.

Closes #9

cchamberlain commented 7 years ago

@tomchentw I just published as v0.5.3. FYI this still has a downstream dependency on my other library https://github.com/noderaider/localsync which depends on chai.

image

If you are looking to eradicate chai from node_modules altogether in favor of invariant, I would gladly take the PR. If not, I'll try to get to it at some point but it may be a while.

Thanks!!