As issue #38 I had problems using this inside a component which rerenders frequently. Added the fix that was suggested in the issue which works in my case.
Hey @r0stig - I do agree that a change like this is needed, however shallow compare is now considered legacy. I'll be updating the component to use PureComponent instead.
As issue #38 I had problems using this inside a component which rerenders frequently. Added the fix that was suggested in the issue which works in my case.