Skip to content

Commit 50482c1

Browse files
committed
Add info about SSR and IntersectionObserver to the README
1 parent ccfbd87 commit 50482c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
React Lazy Load Image Component
66
===============================
77

8-
React Component to lazy load images and other components/elements. Includes a HOC to track window scroll position to improve performance.
8+
React Component to lazy load images and other components/elements. Supports IntersectionObserver and includes a HOC to track window scroll position to improve performance.
99

1010
"[_An easy-to-use performant solution to lazy load images in React_](https://medium.com/@aljullu/an-easy-to-use-performant-solution-to-lazy-load-images-in-react-e6752071020c)"
1111

@@ -26,6 +26,8 @@ React Component to lazy load images and other components/elements. Includes a HO
2626
* threshold is set to 100px by default and can be modified.
2727
* `beforeLoad` and `afterLoad` events.
2828
* `debounce` and `throttle` included by default and configurable.
29+
* Uses IntersectionObserver for browsers that support it.
30+
* Server Side Rendering (SSR) compatible.
2931

3032

3133
## Installation

0 commit comments

Comments
 (0)