pupudu / window-table

Windowing Table for React based on React Window
https://window-table.netlify.com/
170 stars 13 forks source link

Warning: Cannot update a component (`WindowTable`) while rendering a different component (`AutoSizer`). #51

Closed gabrielbezerra81 closed 4 years ago

gabrielbezerra81 commented 4 years ago

Hi, thank you for this great library. I'm facing this warning and dont have any idea about the cause. Could you provide some help? Thanks.

Full warning text: index.js:1 Warning: Cannot update a component (WindowTable) while rendering a different component (AutoSizer). To locate the bad setState() call inside AutoSizer

It says this line in Measurer.tsx causes the warning: dispatch({ dimensions: [height, width], entity })

pupudu commented 4 years ago

Sorry about the extreme delay to respond. This has been fixed in v0.13.2