-
Couldn't load subscription status.
- Fork 23
Closed
Description
Hello! I'm trying to replace a combo with react-visibility-sensor and react-image with react-lazy-images because of your SSR and srcset support, but one feature I'm missing is an onChange prop, so I can get events for when the component is considered in or out of view.
react-intersection-observer has an InView component. It would be nice to leverage that in some way.
Edit: or maybe I just use the InView component myself? Would that double up the event listeners?
Related, what's your opinion on unloading images when out of view?
Metadata
Metadata
Assignees
Labels
No labels