react-lazy-load
react-lazy-load copied to clipboard
React component that renders children elements when they enter the viewport.
Hey there! Im trying to understand whats the reason for the shouldcomponentupdate logic that you are applying. ``` shouldComponentUpdate(_nextProps, nextState) { return nextState.visible; } ``` If the current state is...
If using this on elements inside a scrollable div, you need to pass the root prop in order for the offset to work correctly. Otherwise offset is "ignored" and elements...
issue
dose not work###
I sometimes get error reports from old browsers that lack `IntersectionObserver`. I don't want to ship a polyfill for the small group of users that use these old browsers, I...
I have implemented Lazy Loading using this library and i can see component is doing lazy loading for rest of my card component . But for the card component which...
I've faced with issue that lazy loading does not work in iframe in my existing project. Problem was connected with `node instanceof HTMLElement` , in iFrame I have false in...
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
In many cases, `ref` is too heavy to track and use. `document.getElementById` is a good alternative and more efficient. Unfortunately, `react-lazy-load` didn't support `id` in `props`, so I just created...