React 16 compatibility
Closed this issue · 1 comments
rommguy commented
Remove componentWillReceiveProps usage.
Currently it is used when keepAtBottom is true - to distinguish between external renders and renders caused by setState. This is needed to prevent unneeded renders that keep the scroll at the bottom of the content.
This can probably be achieved by checking if the scroll position is already at the bottom before invoking setState
rommguy commented
branch react-16-compatibility