great library. I was playing around with it and found a bug. You use lodash.throttle to slow down how often react rerenders when the browser changes. You made it "possible" to configure this value using the SizesProvider component. This however does not work. Because the logic is expecting this value on this.context.throttle. The SizesProvider however stores it in a dict with the key _ReactSizesConfig_.
Hi,
great library. I was playing around with it and found a bug. You use lodash.throttle to slow down how often react rerenders when the browser changes. You made it "possible" to configure this value using the
SizesProvider
component. This however does not work. Because the logic is expecting this value onthis.context.throttle
. TheSizesProvider
however stores it in a dict with the key_ReactSizesConfig_
.The line ~57 in
withSizes.js
should beand not: