loktar00 / react-lazy-load

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

feature/component_should_update_on_height_change #140

Closed KoderFPV closed 2 years ago

KoderFPV commented 4 years ago

Hi, We have a case where we have two views on-page, single and double columns, and the component didn't update on height change. Probably it is related somehow to our new CRA build (SSR + SPA), and client hydration. After this one-liner fix, everything works flawlessly.

loktar00 commented 2 years ago

I've recently updated the component significantly, appreciate this PR, however I had taken a break from personal projects and apparently never saw this so that's why it's being closed.