loktar00 / react-lazy-load

React component that renders children elements when they enter the viewport.
MIT License
979 stars 166 forks source link

Should use componentDidUpdate instead of componentWillRecieveProps #147

Closed NeusFear closed 2 years ago

NeusFear commented 3 years ago

In newer versions of react this will need to be done, but for now I'm mentioning it because I hate to see Warnings.

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Please update the following components: LazyLoad

loktar00 commented 2 years ago

No longer an issue as this was removed from the codebase in #155